Welp, another subdirectory cleaned out of redundant/unused #include

files
This commit is contained in:
Marc G. Fournier 1996-10-19 06:27:33 +00:00
parent e77f64af62
commit 0eac5b0ed5
11 changed files with 35 additions and 93 deletions

View File

@ -10,30 +10,21 @@
*
*-------------------------------------------------------------------------
*/
#include "postgres.h"
#include "storage/bufmgr.h"
#include "storage/bufpage.h"
#include "utils/elog.h"
#include "utils/palloc.h"
#include "utils/rel.h"
#include "utils/excid.h"
#include "access/heapam.h"
#include "access/genam.h"
#include "access/itup.h"
#include "access/gist.h"
#include "access/gistscan.h"
#include "access/funcindex.h"
#include "access/tupdesc.h"
#include "nodes/execnodes.h"
#include "nodes/plannodes.h"
#include "executor/executor.h"
#include "access/htup.h"
#include "executor/tuptable.h"
#include "access/relscan.h"
#include "nodes/execnodes.h"
#include "storage/bufmgr.h"
#include "catalog/pg_index.h"
#include "utils/syscache.h"
#include "catalog/index.h"
/* non-export function prototypes */
static InsertIndexResult gistdoinsert(Relation r, IndexTuple itup,

View File

@ -10,22 +10,16 @@
*
*-------------------------------------------------------------------------
*/
#include "postgres.h"
#include "storage/bufmgr.h"
#include "storage/bufpage.h"
#include "utils/elog.h"
#include "utils/palloc.h"
#include "utils/rel.h"
#include "access/heapam.h"
#include "access/genam.h"
#include "access/iqual.h"
#include "access/gist.h"
#include "access/htup.h"
#include "access/relscan.h"
#include "storage/bufpage.h"
#include "access/sdir.h"
#include "executor/execdebug.h"
#include "access/itup.h"
#include "access/gist.h"
static OffsetNumber gistfindnext(IndexScanDesc s, Page p, OffsetNumber n,
ScanDirection dir);

View File

@ -9,19 +9,13 @@
*
*-------------------------------------------------------------------------
*/
#include "postgres.h"
#include "storage/bufmgr.h"
#include "storage/bufpage.h"
#include "utils/elog.h"
#include "utils/palloc.h"
#include "utils/rel.h"
#include "access/heapam.h"
#include "access/genam.h"
#include "access/htup.h"
#include "access/relscan.h"
#include "access/gist.h"
#include "access/giststrat.h"
/* routines defined and used here */
static void gistregscan(IndexScanDesc s);

View File

@ -11,14 +11,11 @@
*
*-------------------------------------------------------------------------
*/
#include "c.h"
#include "postgres.h"
#include "utils/rel.h"
#include "storage/bufmgr.h"
#include "storage/bufpage.h"
#include "access/istrat.h"
#include "storage/off.h"
#include "storage/block.h"
#include "access/gist.h"
/*

View File

@ -12,11 +12,8 @@
#ifndef GIST_H
#define GIST_H
#include "utils/rel.h"
#include "storage/off.h"
#include "storage/block.h"
#include "storage/bufpage.h"
#include "access/skey.h"
/*
** You can have as many strategies as you please in GiSTs, as

View File

@ -6,22 +6,17 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: relscan.h,v 1.1 1996/08/27 21:50:20 scrappy Exp $
* $Id: relscan.h,v 1.2 1996/10/19 06:27:08 scrappy Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef RELSCAN_H
#define RELSCAN_H
#include "c.h"
#include "access/skey.h"
#include "storage/buf.h"
#include "access/htup.h"
#include "storage/itemptr.h"
#include "utils/tqual.h"
#include "utils/rel.h"
#include "storage/buf.h"
typedef ItemPointerData MarkData;

View File

@ -6,14 +6,13 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: hashjoin.h,v 1.1 1996/08/28 07:22:13 scrappy Exp $
* $Id: hashjoin.h,v 1.2 1996/10/19 06:27:33 scrappy Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef HASHJOIN_H
#define HASHJOIN_H
#include "access/htup.h"
#include "storage/ipc.h"
/* -----------------

View File

@ -6,30 +6,18 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: execnodes.h,v 1.1 1996/08/28 01:57:30 scrappy Exp $
* $Id: execnodes.h,v 1.2 1996/10/19 06:27:25 scrappy Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef EXECNODES_H
#define EXECNODES_H
#include "postgres.h"
#include "nodes/nodes.h"
#include "nodes/primnodes.h"
#include "nodes/pg_list.h"
#include "nodes/memnodes.h"
#include "storage/item.h"
#include "nodes/params.h"
#include "access/sdir.h"
#include "access/htup.h"
#include "access/tupdesc.h"
#include "access/funcindex.h"
#include "utils/rel.h"
#include "access/relscan.h"
#include "executor/hashjoin.h"
#include "executor/tuptable.h"
#include "nodes/primnodes.h"
#include "nodes/memnodes.h"
/* ----------------
* IndexInfo information

View File

@ -6,7 +6,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: memnodes.h,v 1.1 1996/08/28 01:57:34 scrappy Exp $
* $Id: memnodes.h,v 1.2 1996/10/19 06:27:27 scrappy Exp $
*
* XXX the typedefs in this file are different from the other ???nodes.h;
* they are pointers to structures instead of the structures themselves.
@ -18,12 +18,9 @@
#ifndef MEMNODES_H
#define MEMNODES_H
#include "c.h"
#include "utils/memutils.h"
#include "lib/fstack.h"
#include "nodes/nodes.h"
/*
* MemoryContext --

View File

@ -6,19 +6,14 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: bufmgr.h,v 1.1 1996/08/28 01:58:01 scrappy Exp $
* $Id: bufmgr.h,v 1.2 1996/10/19 06:27:14 scrappy Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef BUFMGR_H
#define BUFMGR_H
#include "c.h"
#include "machine.h" /* for BLCKSZ */
#include "utils/rel.h"
#include "storage/buf_internals.h" /* UGLY! -- ay */
#include <stdio.h>
/*
* the maximum size of a disk block for any possible installation.

View File

@ -6,7 +6,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: ipc.h,v 1.3 1996/10/11 03:56:27 scrappy Exp $
* $Id: ipc.h,v 1.4 1996/10/19 06:27:12 scrappy Exp $
*
* NOTES
* This file is very architecture-specific. This stuff should actually
@ -17,13 +17,11 @@
#ifndef IPC_H
#define IPC_H
#include <sys/types.h>
#ifndef _IPC_
#define _IPC_
#include <sys/ipc.h>
#endif
#include "c.h"
#include <sys/types.h>
/*
* Many architectures have support for user-level spinlocks (i.e., an
@ -63,7 +61,6 @@ typedef unsigned int slock_t;
#else /* aix */
#if defined(PORTNAME_alpha)
#include <sys/mman.h>
typedef msemaphore slock_t;
#else /* alpha */
@ -76,7 +73,6 @@ typedef struct { int sem[4]; } slock_t;
#else /* hpux */
#if defined(PORTNAME_irix5)
#include <abi_mutex.h>
typedef abilock_t slock_t;
#else /* irix5 */
@ -86,7 +82,6 @@ typedef abilock_t slock_t;
* spinlocks.
*/
#undef NEVER /* definition in cthreads.h conflicts with parse.h */
#include <mach/cthreads.h>
typedef struct mutex slock_t;
#else /* next */