aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/backend/nodes/tidbitmap.c4
-rw-r--r--src/backend/optimizer/path/indxpath.c3
-rw-r--r--src/backend/utils/time/tqual.c3
-rw-r--r--src/include/access/genam.h3
-rw-r--r--src/include/access/hio.h4
-rw-r--r--src/include/access/htup.h3
-rw-r--r--src/include/access/relscan.h3
-rw-r--r--src/include/access/tuptoaster.h4
-rw-r--r--src/include/catalog/indexing.h4
-rw-r--r--src/include/commands/vacuum.h5
-rw-r--r--src/include/executor/hashjoin.h3
-rw-r--r--src/include/executor/tuptable.h5
-rw-r--r--src/include/utils/catcache.h4
-rw-r--r--src/include/utils/inval.h3
-rw-r--r--src/include/utils/lsyscache.h4
15 files changed, 34 insertions, 21 deletions
diff --git a/src/backend/nodes/tidbitmap.c b/src/backend/nodes/tidbitmap.c
index cb67099df99..0e01ab71ef2 100644
--- a/src/backend/nodes/tidbitmap.c
+++ b/src/backend/nodes/tidbitmap.c
@@ -23,7 +23,7 @@
* Copyright (c) 2003-2006, PostgreSQL Global Development Group
*
* IDENTIFICATION
- * $PostgreSQL: pgsql/src/backend/nodes/tidbitmap.c,v 1.9 2006/03/05 15:58:28 momjian Exp $
+ * $PostgreSQL: pgsql/src/backend/nodes/tidbitmap.c,v 1.10 2006/07/13 17:47:01 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -33,9 +33,9 @@
#include "access/htup.h"
#include "nodes/tidbitmap.h"
+#include "storage/bufpage.h"
#include "utils/hsearch.h"
-
/*
* The maximum number of tuples per page is not large (typically 256 with
* 8K pages, or 1024 with 32K pages). So there's not much point in making
diff --git a/src/backend/optimizer/path/indxpath.c b/src/backend/optimizer/path/indxpath.c
index 6e6f4ac3a71..69676b6a082 100644
--- a/src/backend/optimizer/path/indxpath.c
+++ b/src/backend/optimizer/path/indxpath.c
@@ -9,7 +9,7 @@
*
*
* IDENTIFICATION
- * $PostgreSQL: pgsql/src/backend/optimizer/path/indxpath.c,v 1.209 2006/07/01 18:38:32 tgl Exp $
+ * $PostgreSQL: pgsql/src/backend/optimizer/path/indxpath.c,v 1.210 2006/07/13 17:47:01 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -18,6 +18,7 @@
#include <math.h>
#include "access/skey.h"
+#include "catalog/pg_am.h"
#include "catalog/pg_opclass.h"
#include "catalog/pg_operator.h"
#include "catalog/pg_type.h"
diff --git a/src/backend/utils/time/tqual.c b/src/backend/utils/time/tqual.c
index 6536d04646e..37d5980631a 100644
--- a/src/backend/utils/time/tqual.c
+++ b/src/backend/utils/time/tqual.c
@@ -32,7 +32,7 @@
* Portions Copyright (c) 1994, Regents of the University of California
*
* IDENTIFICATION
- * $PostgreSQL: pgsql/src/backend/utils/time/tqual.c,v 1.94 2006/07/13 16:49:18 momjian Exp $
+ * $PostgreSQL: pgsql/src/backend/utils/time/tqual.c,v 1.95 2006/07/13 17:47:01 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -43,6 +43,7 @@
#include "access/subtrans.h"
#include "access/transam.h"
#include "access/xact.h"
+#include "storage/bufmgr.h"
#include "storage/procarray.h"
#include "utils/tqual.h"
diff --git a/src/include/access/genam.h b/src/include/access/genam.h
index 1afe18dd311..9cd9162c26b 100644
--- a/src/include/access/genam.h
+++ b/src/include/access/genam.h
@@ -7,7 +7,7 @@
* Portions Copyright (c) 1996-2006, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $PostgreSQL: pgsql/src/include/access/genam.h,v 1.63 2006/07/13 16:49:18 momjian Exp $
+ * $PostgreSQL: pgsql/src/include/access/genam.h,v 1.64 2006/07/13 17:47:01 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -18,7 +18,6 @@
#include "access/sdir.h"
#include "nodes/primnodes.h"
-
/*
* Struct for statistics returned by ambuild
*/
diff --git a/src/include/access/hio.h b/src/include/access/hio.h
index ab03fd4a643..8cb8f8925f0 100644
--- a/src/include/access/hio.h
+++ b/src/include/access/hio.h
@@ -7,7 +7,7 @@
* Portions Copyright (c) 1996-2006, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $PostgreSQL: pgsql/src/include/access/hio.h,v 1.31 2006/07/02 02:23:22 momjian Exp $
+ * $PostgreSQL: pgsql/src/include/access/hio.h,v 1.32 2006/07/13 17:47:01 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -15,6 +15,8 @@
#define HIO_H
#include "access/htup.h"
+#include "utils/rel.h"
+#include "storage/buf.h"
extern void RelationPutHeapTuple(Relation relation, Buffer buffer,
HeapTuple tuple);
diff --git a/src/include/access/htup.h b/src/include/access/htup.h
index 7a14fa35c22..caac3229f35 100644
--- a/src/include/access/htup.h
+++ b/src/include/access/htup.h
@@ -7,14 +7,13 @@
* Portions Copyright (c) 1996-2006, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $PostgreSQL: pgsql/src/include/access/htup.h,v 1.84 2006/07/13 16:49:19 momjian Exp $
+ * $PostgreSQL: pgsql/src/include/access/htup.h,v 1.85 2006/07/13 17:47:01 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef HTUP_H
#define HTUP_H
-#include "storage/bufpage.h"
#include "storage/itemptr.h"
#include "storage/relfilenode.h"
diff --git a/src/include/access/relscan.h b/src/include/access/relscan.h
index b85e373d875..46446f30cfe 100644
--- a/src/include/access/relscan.h
+++ b/src/include/access/relscan.h
@@ -7,7 +7,7 @@
* Portions Copyright (c) 1996-2006, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $PostgreSQL: pgsql/src/include/access/relscan.h,v 1.46 2006/07/13 16:49:19 momjian Exp $
+ * $PostgreSQL: pgsql/src/include/access/relscan.h,v 1.47 2006/07/13 17:47:01 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -15,6 +15,7 @@
#define RELSCAN_H
#include "access/skey.h"
+#include "storage/bufpage.h"
#include "utils/rel.h"
#include "utils/tqual.h"
diff --git a/src/include/access/tuptoaster.h b/src/include/access/tuptoaster.h
index dea48ed24cd..53f6f902682 100644
--- a/src/include/access/tuptoaster.h
+++ b/src/include/access/tuptoaster.h
@@ -6,7 +6,7 @@
*
* Copyright (c) 2000-2006, PostgreSQL Global Development Group
*
- * $PostgreSQL: pgsql/src/include/access/tuptoaster.h,v 1.27 2006/07/13 16:49:19 momjian Exp $
+ * $PostgreSQL: pgsql/src/include/access/tuptoaster.h,v 1.28 2006/07/13 17:47:01 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -14,7 +14,7 @@
#define TUPTOASTER_H
#include "access/htup.h"
-
+#include "storage/bufpage.h"
/*
* This enables de-toasting of index entries. Needed until VACUUM is
diff --git a/src/include/catalog/indexing.h b/src/include/catalog/indexing.h
index a00e4a04eab..6587b34db72 100644
--- a/src/include/catalog/indexing.h
+++ b/src/include/catalog/indexing.h
@@ -8,7 +8,7 @@
* Portions Copyright (c) 1996-2006, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $PostgreSQL: pgsql/src/include/catalog/indexing.h,v 1.94 2006/03/05 15:58:54 momjian Exp $
+ * $PostgreSQL: pgsql/src/include/catalog/indexing.h,v 1.95 2006/07/13 17:47:01 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -16,7 +16,7 @@
#define INDEXING_H
#include "access/htup.h"
-
+#include "utils/rel.h"
/*
* The state object used by CatalogOpenIndexes and friends is actually the
diff --git a/src/include/commands/vacuum.h b/src/include/commands/vacuum.h
index f7164f21efd..ff68d68f83d 100644
--- a/src/include/commands/vacuum.h
+++ b/src/include/commands/vacuum.h
@@ -7,7 +7,7 @@
* Portions Copyright (c) 1996-2006, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $PostgreSQL: pgsql/src/include/commands/vacuum.h,v 1.65 2006/07/13 16:49:19 momjian Exp $
+ * $PostgreSQL: pgsql/src/include/commands/vacuum.h,v 1.66 2006/07/13 17:47:01 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -15,10 +15,13 @@
#define VACUUM_H
#include "access/htup.h"
+#include "access/tupdesc.h"
+#include "catalog/pg_attribute.h"
#include "catalog/pg_statistic.h"
#include "catalog/pg_type.h"
#include "nodes/parsenodes.h"
#include "storage/lock.h"
+#include "utils/rel.h"
/*----------
* ANALYZE builds one of these structs for each attribute (column) that is
diff --git a/src/include/executor/hashjoin.h b/src/include/executor/hashjoin.h
index c4e6e460fed..a225056a0b5 100644
--- a/src/include/executor/hashjoin.h
+++ b/src/include/executor/hashjoin.h
@@ -7,7 +7,7 @@
* Portions Copyright (c) 1996-2006, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $PostgreSQL: pgsql/src/include/executor/hashjoin.h,v 1.39 2006/06/27 21:31:20 tgl Exp $
+ * $PostgreSQL: pgsql/src/include/executor/hashjoin.h,v 1.40 2006/07/13 17:47:02 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -15,6 +15,7 @@
#define HASHJOIN_H
#include "access/htup.h"
+#include "fmgr.h"
#include "storage/buffile.h"
/* ----------------------------------------------------------------
diff --git a/src/include/executor/tuptable.h b/src/include/executor/tuptable.h
index 5e5f9b4c859..32f34e6fb74 100644
--- a/src/include/executor/tuptable.h
+++ b/src/include/executor/tuptable.h
@@ -7,7 +7,7 @@
* Portions Copyright (c) 1996-2006, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $PostgreSQL: pgsql/src/include/executor/tuptable.h,v 1.34 2006/07/13 16:49:19 momjian Exp $
+ * $PostgreSQL: pgsql/src/include/executor/tuptable.h,v 1.35 2006/07/13 17:47:02 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -15,7 +15,8 @@
#define TUPTABLE_H
#include "access/htup.h"
-
+#include "access/tupdesc.h"
+#include "storage/buf.h"
/*----------
* The executor stores tuples in a "tuple table" which is composed of
diff --git a/src/include/utils/catcache.h b/src/include/utils/catcache.h
index 65d286c7b3b..c8cffa90264 100644
--- a/src/include/utils/catcache.h
+++ b/src/include/utils/catcache.h
@@ -13,7 +13,7 @@
* Portions Copyright (c) 1996-2006, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $PostgreSQL: pgsql/src/include/utils/catcache.h,v 1.59 2006/06/15 02:08:09 tgl Exp $
+ * $PostgreSQL: pgsql/src/include/utils/catcache.h,v 1.60 2006/07/13 17:47:02 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -22,7 +22,9 @@
#include "access/htup.h"
#include "access/skey.h"
+#include "access/tupdesc.h"
#include "lib/dllist.h"
+#include "utils/rel.h"
/*
* struct catctup: individual tuple in the cache.
diff --git a/src/include/utils/inval.h b/src/include/utils/inval.h
index 558162d5ce5..01b70457d22 100644
--- a/src/include/utils/inval.h
+++ b/src/include/utils/inval.h
@@ -7,7 +7,7 @@
* Portions Copyright (c) 1996-2006, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $PostgreSQL: pgsql/src/include/utils/inval.h,v 1.38 2006/03/05 15:59:07 momjian Exp $
+ * $PostgreSQL: pgsql/src/include/utils/inval.h,v 1.39 2006/07/13 17:47:02 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -15,6 +15,7 @@
#define INVAL_H
#include "access/htup.h"
+#include "utils/rel.h"
typedef void (*CacheCallbackFunction) (Datum arg, Oid relid);
diff --git a/src/include/utils/lsyscache.h b/src/include/utils/lsyscache.h
index 9a33fc36021..ad2d9e30a62 100644
--- a/src/include/utils/lsyscache.h
+++ b/src/include/utils/lsyscache.h
@@ -6,14 +6,16 @@
* Portions Copyright (c) 1996-2006, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $PostgreSQL: pgsql/src/include/utils/lsyscache.h,v 1.104 2006/04/05 22:11:57 tgl Exp $
+ * $PostgreSQL: pgsql/src/include/utils/lsyscache.h,v 1.105 2006/07/13 17:47:02 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef LSYSCACHE_H
#define LSYSCACHE_H
+#include "access/attnum.h"
#include "access/htup.h"
+#include "nodes/pg_list.h"
/* I/O function selector for get_type_io_data */
typedef enum IOFuncSelector