Commit 71cd646a authored by Marc G. Fournier's avatar Marc G. Fournier

More include file cleanups

parent dd71c369
...@@ -11,93 +11,25 @@ ...@@ -11,93 +11,25 @@
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
#include <stdio.h>
#include <time.h>
#include <sys/types.h>
#include <string.h>
#include "postgres.h" #include "postgres.h"
#include "catalog/pg_attribute.h"
#include "access/attnum.h"
#include "nodes/nodes.h"
#include "nodes/pg_list.h"
#include "access/tupdesc.h"
#include "storage/fd.h"
#include "catalog/pg_am.h"
#include "catalog/pg_class.h"
#include "rewrite/prs2lock.h"
#include "access/skey.h"
#include "access/strat.h"
#include "utils/rel.h"
#include "storage/block.h"
#include "storage/off.h"
#include "storage/itemptr.h"
#include "access/itup.h"
#include "storage/itemid.h"
#include "storage/item.h"
#include "storage/buf.h"
#include "storage/page.h"
#include "storage/bufpage.h"
#include "access/gist.h"
#include "access/funcindex.h"
#include "utils/nabstime.h"
#include "access/htup.h"
#include "executor/tuptable.h"
#include "utils/tqual.h"
#include "access/relscan.h"
#include "nodes/params.h"
#include "access/sdir.h"
#include "storage/ipc.h"
#include "executor/hashjoin.h"
#include "utils/fcache.h"
#include "nodes/primnodes.h"
#include "utils/memutils.h"
#include "lib/fstack.h"
#include "nodes/memnodes.h"
#include "nodes/execnodes.h"
#include "storage/bufmgr.h"
#include "catalog/pg_index.h"
#include "utils/syscache.h"
#include "nodes/plannodes.h"
#include "nodes/parsenodes.h"
#include "tcop/dest.h"
#include "executor/execdesc.h"
#include "executor/executor.h"
#include "fmgr.h"
#include "access/genam.h"
#include "access/gist.h"
#include "access/gistscan.h"
#include "access/heapam.h" #include "access/heapam.h"
#include "catalog/index.h"
#include "storage/spin.h" #include "executor/executor.h"
#include "utils/hsearch.h" #include "storage/bufmgr.h"
#include "storage/shmem.h" #include "storage/bufpage.h"
#include "storage/lock.h"
#include "storage/lmgr.h" #include "storage/lmgr.h"
#include "utils/palloc.h" #include "utils/palloc.h"
#include "utils/syscache.h"
#include "catalog/index.h"
#include "access/genam.h"
#ifndef HAVE_MEMMOVE #ifndef HAVE_MEMMOVE
# include "regex/utils.h" # include "regex/utils.h"
#endif #endif
#include "access/gistscan.h"
#include "fmgr.h"
/* non-export function prototypes */ /* non-export function prototypes */
static InsertIndexResult gistdoinsert(Relation r, IndexTuple itup, static InsertIndexResult gistdoinsert(Relation r, IndexTuple itup,
GISTSTATE *GISTstate); GISTSTATE *GISTstate);
......
...@@ -16,44 +16,14 @@ ...@@ -16,44 +16,14 @@
#include "postgres.h" #include "postgres.h"
#include "catalog/pg_attribute.h"
#include "access/attnum.h"
#include "nodes/nodes.h"
#include "nodes/pg_list.h"
#include "access/tupdesc.h"
#include "storage/fd.h"
#include "catalog/pg_am.h"
#include "catalog/pg_class.h"
#include "nodes/nodes.h"
#include "rewrite/prs2lock.h"
#include "access/skey.h"
#include "access/strat.h"
#include "utils/rel.h"
#include "storage/block.h"
#include "storage/off.h"
#include "storage/itemptr.h"
#include "utils/nabstime.h"
#include "access/htup.h"
#include "utils/tqual.h"
#include "storage/buf.h"
#include "access/relscan.h" #include "access/relscan.h"
#include "storage/itemid.h"
#include "storage/item.h"
#include "storage/page.h"
#include "storage/bufpage.h" #include "storage/bufpage.h"
#include "access/sdir.h" #include "access/sdir.h"
#include "access/itup.h" #include "access/itup.h"
#include "access/gist.h" #include "access/gist.h"
#include "executor/execdebug.h" #include "executor/execdebug.h"
#include "utils/palloc.h" #include "utils/palloc.h"
#include "storage/bufmgr.h"
#ifndef HAVE_MEMMOVE #ifndef HAVE_MEMMOVE
# include "regex/utils.h" # include "regex/utils.h"
...@@ -61,8 +31,6 @@ ...@@ -61,8 +31,6 @@
# include <string.h> # include <string.h>
#endif #endif
#include "storage/ipc.h"
#include "storage/bufmgr.h"
static OffsetNumber gistfindnext(IndexScanDesc s, Page p, OffsetNumber n, static OffsetNumber gistfindnext(IndexScanDesc s, Page p, OffsetNumber n,
ScanDirection dir); ScanDirection dir);
......
...@@ -15,47 +15,9 @@ ...@@ -15,47 +15,9 @@
#include "postgres.h" #include "postgres.h"
#include "catalog/pg_attribute.h"
#include "access/attnum.h"
#include "nodes/nodes.h"
#include "nodes/pg_list.h"
#include "access/tupdesc.h"
#include "storage/fd.h"
#include "catalog/pg_am.h"
#include "catalog/pg_class.h"
#include "nodes/nodes.h"
#include "rewrite/prs2lock.h"
#include "access/skey.h"
#include "access/strat.h"
#include "utils/rel.h"
#include "storage/block.h"
#include "storage/off.h"
#include "storage/itemptr.h"
#include "utils/nabstime.h"
#include "access/htup.h"
#include "utils/tqual.h"
#include "storage/buf.h"
#include "access/relscan.h" #include "access/relscan.h"
#include "storage/itemid.h"
#include "storage/item.h"
#include "storage/page.h"
#include "storage/bufpage.h"
#include "access/gist.h" #include "access/gist.h"
#include "access/itup.h"
#include "access/funcindex.h"
#include "access/sdir.h"
#include "access/genam.h" #include "access/genam.h"
#include <sys/types.h>
#include "storage/ipc.h"
#include "storage/spin.h"
#include "utils/hsearch.h"
#include "storage/shmem.h"
#include "storage/lock.h"
#include "storage/lmgr.h" #include "storage/lmgr.h"
#ifndef HAVE_MEMMOVE #ifndef HAVE_MEMMOVE
......
...@@ -14,31 +14,8 @@ ...@@ -14,31 +14,8 @@
#include "postgres.h" #include "postgres.h"
#include "catalog/pg_attribute.h"
#include "access/attnum.h"
#include "nodes/nodes.h"
#include "nodes/pg_list.h"
#include "access/tupdesc.h"
#include "storage/fd.h"
#include "catalog/pg_am.h"
#include "catalog/pg_class.h"
#include "nodes/nodes.h"
#include "rewrite/prs2lock.h"
#include "access/skey.h"
#include "access/strat.h"
#include "utils/rel.h" #include "utils/rel.h"
#include "storage/off.h"
#include "storage/block.h"
#include "storage/itemid.h"
#include "storage/item.h"
#include "storage/buf.h"
#include "storage/page.h"
#include "storage/bufpage.h"
#include "access/gist.h" #include "access/gist.h"
#include "access/istrat.h" #include "access/istrat.h"
/* /*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment