Commit ca112038 authored by Marc G. Fournier's avatar Marc G. Fournier

More include file cleanups

parent 302b8097
...@@ -14,7 +14,6 @@ ...@@ -14,7 +14,6 @@
#include "postgres.h" #include "postgres.h"
#include "utils/rel.h"
#include "access/gist.h" #include "access/gist.h"
#include "access/istrat.h" #include "access/istrat.h"
......
...@@ -7,14 +7,13 @@ ...@@ -7,14 +7,13 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Id: hio.c,v 1.7 1996/11/03 12:34:52 scrappy Exp $ * $Id: hio.c,v 1.8 1996/11/03 22:57:28 scrappy Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
#include "postgres.h" #include "postgres.h"
#include "storage/buf.h"
#include "storage/bufpage.h" #include "storage/bufpage.h"
#include "access/relscan.h" #include "access/relscan.h"
#include "access/heapam.h" #include "access/heapam.h"
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/access/index/indexam.c,v 1.5 1996/10/31 08:32:22 scrappy Exp $ * $Header: /cvsroot/pgsql/src/backend/access/index/indexam.c,v 1.6 1996/11/03 22:57:36 scrappy Exp $
* *
* INTERFACE ROUTINES * INTERFACE ROUTINES
* index_open - open an index relation by relationId * index_open - open an index relation by relationId
...@@ -65,35 +65,6 @@ ...@@ -65,35 +65,6 @@
#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 "access/itup.h"
#include <time.h>
#include "utils/nabstime.h"
#include "access/htup.h"
#include "utils/tqual.h"
#include "storage/buf.h"
#include "access/relscan.h"
#include "access/sdir.h"
#include "access/funcindex.h"
#include "access/genam.h" #include "access/genam.h"
#include "utils/relcache.h" #include "utils/relcache.h"
...@@ -102,12 +73,6 @@ ...@@ -102,12 +73,6 @@
#include "utils/palloc.h" #include "utils/palloc.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"
#include "access/heaptuple.h" #include "access/heaptuple.h"
......
...@@ -8,38 +8,15 @@ ...@@ -8,38 +8,15 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/access/index/Attic/istrat.c,v 1.5 1996/10/31 08:32:23 scrappy Exp $ * $Header: /cvsroot/pgsql/src/backend/access/index/Attic/istrat.c,v 1.6 1996/11/03 22:57:40 scrappy Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
#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 <time.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 "tcop/dest.h"
#include "catalog/pg_proc.h" #include "catalog/pg_proc.h"
#include "catalog/pg_operator.h" #include "catalog/pg_operator.h"
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/access/nbtree/nbtcompare.c,v 1.3 1996/10/23 07:38:54 scrappy Exp $ * $Header: /cvsroot/pgsql/src/backend/access/nbtree/nbtcompare.c,v 1.4 1996/11/03 22:57:48 scrappy Exp $
* *
* NOTES * NOTES
* These functions are stored in pg_amproc. For each operator class * These functions are stored in pg_amproc. For each operator class
...@@ -21,7 +21,6 @@ ...@@ -21,7 +21,6 @@
*/ */
#include <string.h> #include <string.h>
#include <time.h>
#include "postgres.h" #include "postgres.h"
#include "utils/nabstime.h" #include "utils/nabstime.h"
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/access/nbtree/nbtpage.c,v 1.4 1996/11/03 12:35:17 scrappy Exp $ * $Header: /cvsroot/pgsql/src/backend/access/nbtree/nbtpage.c,v 1.5 1996/11/03 22:57:52 scrappy Exp $
* *
* NOTES * NOTES
* Postgres btree pages look like ordinary relation pages. The opaque * Postgres btree pages look like ordinary relation pages. The opaque
...@@ -26,24 +26,14 @@ ...@@ -26,24 +26,14 @@
#include "utils/rel.h" #include "utils/rel.h"
#include "storage/buf.h"
#include "storage/block.h"
#include "storage/off.h"
#include "storage/itemptr.h"
#include "access/itup.h" #include "access/itup.h"
#include "access/funcindex.h" #include "access/funcindex.h"
#include "storage/itemid.h"
#include "storage/item.h"
#include "storage/bufpage.h" #include "storage/bufpage.h"
#include "utils/nabstime.h"
#include "access/htup.h" #include "access/htup.h"
#include "utils/tqual.h"
#include "access/relscan.h" #include "access/relscan.h"
#include "access/sdir.h" #include "access/sdir.h"
#include "access/nbtree.h" #include "access/nbtree.h"
#include "storage/ipc.h"
#include "storage/bufmgr.h"
#include "storage/lmgr.h" #include "storage/lmgr.h"
#ifndef HAVE_MEMMOVE #ifndef HAVE_MEMMOVE
...@@ -54,6 +44,8 @@ ...@@ -54,6 +44,8 @@
#include "miscadmin.h" #include "miscadmin.h"
#include "storage/bufmgr.h"
#define BTREE_METAPAGE 0 #define BTREE_METAPAGE 0
#define BTREE_MAGIC 0x053162 #define BTREE_MAGIC 0x053162
#define BTREE_VERSION 0 #define BTREE_VERSION 0
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/access/nbtree/nbtree.c,v 1.7 1996/11/03 12:35:19 scrappy Exp $ * $Header: /cvsroot/pgsql/src/backend/access/nbtree/nbtree.c,v 1.8 1996/11/03 22:57:54 scrappy Exp $
* *
* NOTES * NOTES
* This file contains only the public interface routines. * This file contains only the public interface routines.
...@@ -21,31 +21,18 @@ ...@@ -21,31 +21,18 @@
#include "postgres.h" #include "postgres.h"
#include "utils/rel.h" #include "utils/rel.h"
#include "access/genam.h"
#include "storage/block.h"
#include "storage/off.h"
#include "storage/itemptr.h"
#include "access/itup.h"
#include "access/funcindex.h"
#include "storage/itemid.h"
#include "storage/item.h"
#include "storage/buf.h"
#include "storage/bufpage.h" #include "storage/bufpage.h"
#include "storage/bufmgr.h" #include "storage/bufmgr.h"
#include "utils/nabstime.h"
#include "access/htup.h" #include "access/htup.h"
#include "utils/tqual.h"
#include "utils/palloc.h" #include "utils/palloc.h"
#include "access/relscan.h"
#include "access/sdir.h"
#include "access/nbtree.h" #include "access/nbtree.h"
#include "executor/executor.h" #include "executor/executor.h"
#include "access/heapam.h" #include "access/heapam.h"
#include "access/genam.h"
#include "catalog/index.h" #include "catalog/index.h"
#include "miscadmin.h" #include "miscadmin.h"
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/access/nbtree/Attic/nbtscan.c,v 1.3 1996/10/23 07:39:08 scrappy Exp $ * $Header: /cvsroot/pgsql/src/backend/access/nbtree/Attic/nbtscan.c,v 1.4 1996/11/03 22:57:55 scrappy Exp $
* *
* *
* NOTES * NOTES
...@@ -29,32 +29,12 @@ ...@@ -29,32 +29,12 @@
#include "postgres.h" #include "postgres.h"
#include "catalog/pg_attribute.h"
#include "access/attnum.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/block.h"
#include "storage/off.h"
#include "storage/itemptr.h"
#include "access/itup.h" #include "access/itup.h"
#include "access/funcindex.h" #include "access/funcindex.h"
#include "storage/itemid.h"
#include "storage/item.h"
#include "storage/buf.h"
#include "storage/bufpage.h" #include "storage/bufpage.h"
#include <time.h>
#include "utils/nabstime.h"
#include "access/htup.h" #include "access/htup.h"
#include "utils/tqual.h"
#include "utils/palloc.h" #include "utils/palloc.h"
#include "access/relscan.h" #include "access/relscan.h"
#include "access/sdir.h" #include "access/sdir.h"
......
...@@ -7,46 +7,21 @@ ...@@ -7,46 +7,21 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/access/nbtree/nbtsearch.c,v 1.6 1996/11/03 12:35:21 scrappy Exp $ * $Header: /cvsroot/pgsql/src/backend/access/nbtree/nbtsearch.c,v 1.7 1996/11/03 22:57:56 scrappy Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
#include <time.h>
#include "postgres.h" #include "postgres.h"
#include "catalog/pg_attribute.h"
#include "access/attnum.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 "access/genam.h"
#include "storage/block.h"
#include "storage/off.h"
#include "storage/itemptr.h"
#include "access/itup.h"
#include "access/funcindex.h"
#include "storage/itemid.h"
#include "storage/item.h"
#include "storage/buf.h"
#include "storage/bufpage.h" #include "storage/bufpage.h"
#include "storage/bufmgr.h" #include "storage/bufmgr.h"
#include "utils/nabstime.h"
#include "access/htup.h" #include "access/htup.h"
#include "utils/tqual.h"
#include "utils/palloc.h" #include "utils/palloc.h"
#include "access/relscan.h"
#include "access/sdir.h"
#include "access/nbtree.h" #include "access/nbtree.h"
#include "access/genam.h"
#ifndef HAVE_MEMMOVE #ifndef HAVE_MEMMOVE
# include "regex/utils.h" # include "regex/utils.h"
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Id: nbtsort.c,v 1.6 1996/11/03 12:35:22 scrappy Exp $ * $Id: nbtsort.c,v 1.7 1996/11/03 22:57:57 scrappy Exp $
* *
* NOTES * NOTES
* *
...@@ -48,25 +48,16 @@ ...@@ -48,25 +48,16 @@
*/ */
#include <stdio.h> #include <stdio.h>
#include <time.h>
#include <fcntl.h> #include <fcntl.h>
#include "postgres.h" #include "postgres.h"
#include "utils/rel.h" #include "utils/rel.h"
#include "storage/block.h"
#include "storage/off.h"
#include "storage/itemptr.h"
#include "access/itup.h" #include "access/itup.h"
#include "access/funcindex.h" #include "access/funcindex.h"
#include "storage/itemid.h"
#include "storage/item.h"
#include "storage/buf.h"
#include "storage/bufpage.h" #include "storage/bufpage.h"
#include "utils/nabstime.h"
#include "access/htup.h" #include "access/htup.h"
#include "utils/tqual.h"
#include "utils/palloc.h" #include "utils/palloc.h"
#include "access/relscan.h" #include "access/relscan.h"
#include "access/sdir.h" #include "access/sdir.h"
...@@ -78,7 +69,6 @@ ...@@ -78,7 +69,6 @@
# include <string.h> # include <string.h>
#endif #endif
#include "storage/ipc.h"
#include "storage/bufmgr.h" #include "storage/bufmgr.h"
#ifdef FASTBUILD #ifdef FASTBUILD
......
...@@ -7,39 +7,19 @@ ...@@ -7,39 +7,19 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/access/nbtree/Attic/nbtstrat.c,v 1.2 1996/10/20 10:53:16 scrappy Exp $ * $Header: /cvsroot/pgsql/src/backend/access/nbtree/Attic/nbtstrat.c,v 1.3 1996/11/03 22:57:59 scrappy Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
#include "postgres.h" #include "postgres.h"
#include "catalog/pg_attribute.h"
#include "access/attnum.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/block.h"
#include "storage/off.h"
#include "storage/itemptr.h"
#include "access/itup.h" #include "access/itup.h"
#include "access/funcindex.h" #include "access/funcindex.h"
#include "storage/itemid.h"
#include "storage/item.h"
#include "storage/buf.h"
#include "storage/bufpage.h" #include "storage/bufpage.h"
#include <time.h>
#include "utils/nabstime.h"
#include "access/htup.h" #include "access/htup.h"
#include "utils/tqual.h"
#include "access/relscan.h" #include "access/relscan.h"
#include "access/sdir.h" #include "access/sdir.h"
#include "access/nbtree.h" #include "access/nbtree.h"
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/access/nbtree/nbtutils.c,v 1.5 1996/11/03 12:35:23 scrappy Exp $ * $Header: /cvsroot/pgsql/src/backend/access/nbtree/nbtutils.c,v 1.6 1996/11/03 22:57:59 scrappy Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
...@@ -17,25 +17,13 @@ ...@@ -17,25 +17,13 @@
#include "postgres.h" #include "postgres.h"
#include "utils/rel.h" #include "utils/rel.h"
#include "access/genam.h"
#include "storage/block.h"
#include "storage/off.h"
#include "storage/itemptr.h"
#include "access/itup.h"
#include "access/funcindex.h"
#include "storage/itemid.h"
#include "storage/item.h"
#include "storage/buf.h"
#include "storage/bufpage.h" #include "storage/bufpage.h"
#include "utils/nabstime.h"
#include "access/htup.h" #include "access/htup.h"
#include "utils/tqual.h"
#include "utils/palloc.h" #include "utils/palloc.h"
#include "access/relscan.h"
#include "access/sdir.h"
#include "access/nbtree.h" #include "access/nbtree.h"
#include "access/istrat.h" #include "access/istrat.h"
#include "access/genam.h"
#include "access/iqual.h" #include "access/iqual.h"
#ifndef HAVE_MEMMOVE #ifndef HAVE_MEMMOVE
# include "regex/utils.h" # include "regex/utils.h"
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/access/rtree/Attic/rtget.c,v 1.4 1996/10/31 08:52:51 scrappy Exp $ * $Header: /cvsroot/pgsql/src/backend/access/rtree/Attic/rtget.c,v 1.5 1996/11/03 22:58:03 scrappy Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
...@@ -17,48 +17,20 @@ ...@@ -17,48 +17,20 @@
#include "postgres.h" #include "postgres.h"
#include "catalog/pg_attribute.h" #include "storage/bufmgr.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 "access/sdir.h" #include "access/sdir.h"
#include "storage/block.h"
#include "storage/off.h"
#include "storage/itemptr.h"
#include "utils/nabstime.h"
#include "access/htup.h" #include "access/htup.h"
#include "utils/tqual.h"
#include "utils/palloc.h" #include "utils/palloc.h"
#include "storage/buf.h"
#include "access/relscan.h" #include "access/relscan.h"
#include "storage/block.h"
#include "access/itup.h" #include "access/itup.h"
#include "access/iqual.h" #include "access/iqual.h"
#include "storage/itemid.h"
#include "storage/item.h"
#include "storage/page.h"
#include "storage/bufpage.h"
#include <stdio.h>
#include <sys/types.h>
#include "storage/ipc.h"
#include "storage/bufmgr.h"
#include "access/itup.h"
#include "access/rtree.h" #include "access/rtree.h"
#include "storage/bufpage.h"
static OffsetNumber findnext(IndexScanDesc s, Page p, OffsetNumber n, static OffsetNumber findnext(IndexScanDesc s, Page p, OffsetNumber n,
ScanDirection dir); ScanDirection dir);
static RetrieveIndexResult rtscancache(IndexScanDesc s, ScanDirection dir); static RetrieveIndexResult rtscancache(IndexScanDesc s, ScanDirection dir);
......
...@@ -7,30 +7,25 @@ ...@@ -7,30 +7,25 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/access/rtree/Attic/rtree.c,v 1.7 1996/11/03 12:35:27 scrappy Exp $ * $Header: /cvsroot/pgsql/src/backend/access/rtree/Attic/rtree.c,v 1.8 1996/11/03 22:58:06 scrappy Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
#include <stdio.h> #include <stdio.h>
#include <time.h>
#include "postgres.h" #include "postgres.h"
#include "access/genam.h"
#include "utils/palloc.h" #include "utils/palloc.h"
#include "catalog/index.h" #include "catalog/index.h"
#include "access/relscan.h"
#include "access/rtscan.h" #include "access/rtscan.h"
#include "storage/lmgr.h" #include "storage/lmgr.h"
#include "access/genam.h"
#include "access/rtree.h" #include "access/rtree.h"
#include "access/funcindex.h"
#include "storage/ipc.h"
#include "storage/bufmgr.h" #include "storage/bufmgr.h"
#include "utils/geo-decls.h" #include "utils/geo-decls.h"
......
...@@ -7,61 +7,27 @@ ...@@ -7,61 +7,27 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/access/rtree/Attic/rtscan.c,v 1.6 1996/10/31 08:52:53 scrappy Exp $ * $Header: /cvsroot/pgsql/src/backend/access/rtree/Attic/rtscan.c,v 1.7 1996/11/03 22:58:09 scrappy Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
#include <string.h> #include <string.h>
#include <time.h>
#include "postgres.h" #include "postgres.h"
#include "catalog/pg_attribute.h" #include "storage/bufmgr.h"
#include "access/attnum.h" #include "access/genam.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 "utils/palloc.h" #include "utils/palloc.h"
#include "access/htup.h" #include "access/htup.h"
#include "utils/tqual.h"
#include "storage/buf.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"
#include "storage/itemid.h"
#include "storage/item.h"
#include "storage/page.h"
#include "storage/bufpage.h" #include "storage/bufpage.h"
#include <stdio.h> #include <stdio.h>
#include "storage/bufmgr.h"
#include "access/relscan.h"
#include "access/rtree.h" #include "access/rtree.h"
#include "access/rtstrat.h" #include "access/rtstrat.h"
#include "access/itup.h"
#include "access/funcindex.h"
#include "access/sdir.h"
#include "access/genam.h"
/* routines defined and used here */ /* routines defined and used here */
static void rtregscan(IndexScanDesc s); static void rtregscan(IndexScanDesc s);
static void rtdropscan(IndexScanDesc s); static void rtdropscan(IndexScanDesc s);
......
...@@ -7,25 +7,13 @@ ...@@ -7,25 +7,13 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/access/rtree/Attic/rtstrat.c,v 1.3 1996/10/31 08:52:54 scrappy Exp $ * $Header: /cvsroot/pgsql/src/backend/access/rtree/Attic/rtstrat.c,v 1.4 1996/11/03 22:58:10 scrappy Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
#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/off.h"
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/access/transam/transam.c,v 1.3 1996/10/21 07:15:00 scrappy Exp $ * $Header: /cvsroot/pgsql/src/backend/access/transam/transam.c,v 1.4 1996/11/03 22:58:18 scrappy Exp $
* *
* NOTES * NOTES
* This file contains the high level access-method interface to the * This file contains the high level access-method interface to the
...@@ -18,37 +18,13 @@ ...@@ -18,37 +18,13 @@
#include "postgres.h" #include "postgres.h"
#include "catalog/pg_attribute.h"
#include "access/attnum.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 <stdio.h>
#include "storage/ipc.h"
#include "storage/block.h"
#include "storage/buf.h"
#include "storage/bufmgr.h"
#include <time.h>
#include "utils/nabstime.h"
#include "access/transam.h" #include "access/transam.h"
#include "access/xact.h" #include "access/xact.h"
#include "nodes/memnodes.h" #include "nodes/memnodes.h"
#include "storage/off.h"
#include "storage/itemptr.h"
#include "access/htup.h" #include "access/htup.h"
#include "utils/tqual.h"
#include "access/relscan.h"
#include "access/heapam.h" #include "access/heapam.h"
#include "utils/mcxt.h" #include "utils/mcxt.h"
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/access/transam/Attic/transsup.c,v 1.4 1996/10/23 07:39:32 scrappy Exp $ * $Header: /cvsroot/pgsql/src/backend/access/transam/Attic/transsup.c,v 1.5 1996/11/03 22:58:20 scrappy Exp $
* *
* NOTES * NOTES
* This file contains support functions for the high * This file contains support functions for the high
...@@ -18,38 +18,13 @@ ...@@ -18,38 +18,13 @@
#include "postgres.h" #include "postgres.h"
#include "catalog/pg_attribute.h"
#include "access/attnum.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 <stdio.h>
#include "storage/ipc.h"
#include "storage/block.h"
#include "storage/buf.h"
#include "storage/bufmgr.h"
#include <time.h>
#include "utils/nabstime.h"
#include "access/transam.h" #include "access/transam.h"
#include "utils/bit.h" #include "utils/bit.h"
#include "access/xact.h" #include "access/xact.h"
#include "storage/spin.h"
#include "utils/hsearch.h"
#include "storage/shmem.h"
#include "storage/off.h"
#include "storage/itemptr.h"
#include "storage/lock.h"
#include "storage/lmgr.h" #include "storage/lmgr.h"
/* ---------------------------------------------------------------- /* ----------------------------------------------------------------
......
...@@ -7,31 +7,16 @@ ...@@ -7,31 +7,16 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/access/transam/varsup.c,v 1.4 1996/10/21 07:15:10 scrappy Exp $ * $Header: /cvsroot/pgsql/src/backend/access/transam/varsup.c,v 1.5 1996/11/03 22:58:21 scrappy Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
#include "postgres.h" #include "postgres.h"
#include <stdio.h>
#include "storage/ipc.h"
#include "storage/block.h"
#include "storage/buf.h"
#include "catalog/pg_attribute.h" #include "catalog/pg_attribute.h"
#include "access/attnum.h"
#include "nodes/pg_list.h"
#include "access/tupdesc.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/bufmgr.h" #include "storage/bufmgr.h"
#include <time.h>
#include "utils/nabstime.h" #include "utils/nabstime.h"
#include "access/transam.h" #include "access/transam.h"
...@@ -42,7 +27,6 @@ ...@@ -42,7 +27,6 @@
#include "storage/off.h" #include "storage/off.h"
#include "storage/itemptr.h" #include "storage/itemptr.h"
#include "access/htup.h" #include "access/htup.h"
#include "utils/tqual.h"
#include "access/relscan.h" #include "access/relscan.h"
#include "access/heapam.h" #include "access/heapam.h"
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/access/transam/xact.c,v 1.2 1996/10/21 07:15:15 scrappy Exp $ * $Header: /cvsroot/pgsql/src/backend/access/transam/xact.c,v 1.3 1996/11/03 22:58:25 scrappy Exp $
* *
* NOTES * NOTES
* Transaction aborts can now occur two ways: * Transaction aborts can now occur two ways:
...@@ -138,37 +138,18 @@ ...@@ -138,37 +138,18 @@
#include "postgres.h" #include "postgres.h"
#include <time.h>
#include "utils/nabstime.h"
#include "access/xact.h" #include "access/xact.h"
#include "catalog/pg_attribute.h"
#include "access/attnum.h"
#include "nodes/pg_list.h"
#include "access/tupdesc.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/block.h"
#include "storage/off.h"
#include "storage/itemptr.h"
#include "access/htup.h" #include "access/htup.h"
#include "utils/inval.h" #include "utils/inval.h"
#include "nodes/memnodes.h" #include "nodes/memnodes.h"
#include "utils/tqual.h"
#include "nodes/primnodes.h"
#include "nodes/parsenodes.h" #include "nodes/parsenodes.h"
#include "nodes/params.h" #include "nodes/params.h"
#include "access/sdir.h" #include "access/sdir.h"
#include "executor/hashjoin.h" #include "executor/hashjoin.h"
#include "nodes/primnodes.h"
#include "nodes/memnodes.h"
#include "storage/buf.h" #include "storage/buf.h"
#include "executor/tuptable.h" #include "executor/tuptable.h"
#include "access/funcindex.h" #include "access/funcindex.h"
...@@ -180,15 +161,8 @@ ...@@ -180,15 +161,8 @@
#include "executor/execdesc.h" #include "executor/execdesc.h"
#include "utils/portal.h" #include "utils/portal.h"
#include <stdio.h>
#include "storage/ipc.h"
#include "storage/bufmgr.h"
#include "access/transam.h" #include "access/transam.h"
#include "storage/spin.h"
#include "utils/hsearch.h"
#include "storage/shmem.h"
#include "storage/lock.h"
#include "storage/proc.h" #include "storage/proc.h"
#include "utils/mcxt.h" #include "utils/mcxt.h"
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/access/transam/Attic/xid.c,v 1.2 1996/10/21 07:15:18 scrappy Exp $ * $Header: /cvsroot/pgsql/src/backend/access/transam/Attic/xid.c,v 1.3 1996/11/03 22:58:26 scrappy Exp $
* *
* OLD COMMENTS * OLD COMMENTS
* XXX WARNING * XXX WARNING
...@@ -19,12 +19,11 @@ ...@@ -19,12 +19,11 @@
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
#include <stdio.h>
#include "postgres.h" #include "postgres.h"
#include "utils/palloc.h" #include "utils/palloc.h"
#include <stdio.h>
extern TransactionId NullTransactionId; extern TransactionId NullTransactionId;
extern TransactionId DisabledTransactionId; extern TransactionId DisabledTransactionId;
......
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