*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/access/common/heaptuple.c,v 1.54 1999/07/15 22:38:31 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/access/common/heaptuple.c,v 1.55 1999/07/15 23:02:51 momjian Exp $
*
* NOTES
* The old interface functions have been converted to macros
*-------------------------------------------------------------------------
*/
+#include "postgres.h"
-#include
+#include "access/heapam.h"
+#include "catalog/pg_type.h"
#ifndef HAVE_MEMMOVE
#else
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/access/common/indextuple.c,v 1.34 1999/07/15 22:38:32 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/access/common/indextuple.c,v 1.35 1999/07/15 23:02:51 momjian Exp $
*
*-------------------------------------------------------------------------
*/
+#include "postgres.h"
-#include
+#include "access/heapam.h"
+#include "access/itup.h"
+#include "catalog/pg_type.h"
#ifndef HAVE_MEMMOVE
#else
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/access/common/Attic/indexvalid.c,v 1.22 1999/07/15 22:38:32 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/access/common/Attic/indexvalid.c,v 1.23 1999/07/15 23:02:51 momjian Exp $
*
*-------------------------------------------------------------------------
*/
+#include "postgres.h"
-#include
+#include "access/iqual.h"
+#include "executor/execdebug.h"
/* ----------------------------------------------------------------
* index scan key qualification code
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/access/common/scankey.c,v 1.15 1999/07/15 22:38:32 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/access/common/scankey.c,v 1.16 1999/07/15 23:02:51 momjian Exp $
*
*-------------------------------------------------------------------------
*/
+#include "postgres.h"
+#include "access/skey.h"
/*
* ScanKeyEntryIsLegal
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/access/common/tupdesc.c,v 1.51 1999/07/15 22:38:33 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/access/common/tupdesc.c,v 1.52 1999/07/15 23:02:51 momjian Exp $
*
* NOTES
* some of the executor utility code such as "ExecTypeFromTL" should be
#include
+#include "postgres.h"
-#include
-#include
-#include
-#include
+#include "catalog/pg_type.h"
+#include "nodes/parsenodes.h"
+#include "parser/parse_type.h"
+#include "utils/builtins.h"
+#include "utils/syscache.h"
#ifndef HAVE_MEMMOVE
#else
*-------------------------------------------------------------------------
*/
-
-#include
-#include
-#include
-#include
+#include "postgres.h"
+
+#include "catalog/pg_index.h"
+#include "access/genam.h"
+#include "access/gist.h"
+#include "access/gistscan.h"
+#include "access/heapam.h"
+#include "catalog/index.h"
+#include "executor/executor.h"
+#include "utils/syscache.h"
#ifndef HAVE_MEMMOVE
#else
*-------------------------------------------------------------------------
*/
+#include "postgres.h"
-#include
+#include "access/gist.h"
+#include "executor/execdebug.h"
#ifndef HAVE_MEMMOVE
#else
*-------------------------------------------------------------------------
*/
+#include "postgres.h"
+#include "access/gist.h"
+#include "access/gistscan.h"
+#include "access/genam.h"
#ifndef HAVE_MEMMOVE
#else
*-------------------------------------------------------------------------
*/
+#include "postgres.h"
+#include "access/gist.h"
+#include "access/istrat.h"
/*
* Note: negate, commute, and negatecommute all assume that operators are
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/access/hash/hash.c,v 1.27 1999/07/15 22:38:35 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/access/hash/hash.c,v 1.28 1999/07/15 23:02:54 momjian Exp $
*
* NOTES
* This file contains only the public interface routines.
*-------------------------------------------------------------------------
*/
+#include "postgres.h"
-#include
-#include
-#include
+#include "access/hash.h"
+#include "executor/executor.h"
+#include "access/heapam.h"
+#include "access/genam.h"
+#include "catalog/index.h"
+#include "miscadmin.h"
#ifndef HAVE_MEMMOVE
#else
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/access/hash/hashinsert.c,v 1.16 1999/07/15 22:38:36 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/access/hash/hashinsert.c,v 1.17 1999/07/15 23:02:54 momjian Exp $
*
*-------------------------------------------------------------------------
*/
+#include "postgres.h"
+#include "access/hash.h"
static InsertIndexResult _hash_insertonpg(Relation rel, Buffer buf, int keysz, ScanKey scankey, HashItem hitem, Buffer metabuf);
static OffsetNumber _hash_pgaddtup(Relation rel, Buffer buf, int keysz, ScanKey itup_scankey, Size itemsize, HashItem hitem);
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/access/hash/hashovfl.c,v 1.21 1999/07/15 22:38:37 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/access/hash/hashovfl.c,v 1.22 1999/07/15 23:02:55 momjian Exp $
*
* NOTES
* Overflow pages look like ordinary relation pages.
*
*-------------------------------------------------------------------------
*/
+#include "postgres.h"
+#include "access/hash.h"
#ifndef HAVE_MEMMOVE
#else
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/access/hash/hashpage.c,v 1.21 1999/07/15 22:38:37 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/access/hash/hashpage.c,v 1.22 1999/07/15 23:02:55 momjian Exp $
*
* NOTES
* Postgres hash pages look like ordinary relation pages. The opaque
*-------------------------------------------------------------------------
*/
+#include "postgres.h"
-#include
+#include "access/hash.h"
+#include "miscadmin.h"
+#include "access/genam.h"
#ifndef HAVE_MEMMOVE
#else
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/access/hash/hashscan.c,v 1.19 1999/07/15 15:18:33 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/access/hash/hashscan.c,v 1.20 1999/07/15 23:02:55 momjian Exp $
*
* NOTES
* Because we can be doing an index scan on a relation while we
*-------------------------------------------------------------------------
*/
+#include "postgres.h"
+#include "access/hash.h"
static void _hash_scandel(IndexScanDesc scan, BlockNumber blkno, OffsetNumber offno);
static bool _hash_scantouched(IndexScanDesc scan, BlockNumber blkno, OffsetNumber offno);
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/access/hash/hashsearch.c,v 1.18 1999/07/15 22:38:38 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/access/hash/hashsearch.c,v 1.19 1999/07/15 23:02:55 momjian Exp $
*
*-------------------------------------------------------------------------
*/
+#include "postgres.h"
+#include "access/hash.h"
#ifndef HAVE_MEMMOVE
#else
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/access/hash/Attic/hashstrat.c,v 1.14 1999/07/15 22:38:38 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/access/hash/Attic/hashstrat.c,v 1.15 1999/07/15 23:02:56 momjian Exp $
*
*-------------------------------------------------------------------------
*/
+#include "postgres.h"
/*
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/access/hash/hashutil.c,v 1.18 1999/07/15 22:38:39 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/access/hash/hashutil.c,v 1.19 1999/07/15 23:02:56 momjian Exp $
*
*-------------------------------------------------------------------------
*/
+#include "postgres.h"
+#include "access/hash.h"
+#include "access/iqual.h"
#ifndef HAVE_MEMMOVE
#else
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/access/heap/heapam.c,v 1.49 1999/07/15 22:38:40 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/access/heap/heapam.c,v 1.50 1999/07/15 23:02:57 momjian Exp $
*
*
* INTERFACE ROUTINES
*-------------------------------------------------------------------------
*/
-
-#include
-#include
-#include
-#include
-#include
-#include
+#include "postgres.h"
+
+#include "access/heapam.h"
+#include "miscadmin.h"
+#include "utils/relcache.h"
+#include "access/valid.h"
+#include "access/hio.h"
+#include "storage/smgr.h"
+#include "catalog/catalog.h"
+#include "utils/inval.h"
+#include "utils/builtins.h"
#ifndef HAVE_MEMMOVE
#else
*
*
* IDENTIFICATION
- * $Id: hio.c,v 1.23 1999/07/15 22:38:41 momjian Exp $
+ * $Id: hio.c,v 1.24 1999/07/15 23:02:57 momjian Exp $
*
*-------------------------------------------------------------------------
*/
+#include "postgres.h"
+#include "access/hio.h"
+#include "access/heapam.h"
/*
* amputunique - place tuple at tid
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/access/heap/Attic/stats.c,v 1.18 1999/07/15 22:38:42 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/access/heap/Attic/stats.c,v 1.19 1999/07/15 23:02:58 momjian Exp $
*
* NOTES
* initam should be moved someplace else.
#include
#include
+#include "postgres.h"
+#include "access/heapam.h"
#ifndef HAVE_MEMMOVE
#else
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/access/index/genam.c,v 1.18 1999/07/15 22:38:42 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/access/index/genam.c,v 1.19 1999/07/15 23:02:58 momjian Exp $
*
* NOTES
* many of the old access method routines have been turned into
* ----------------------------------------------------------------
*/
+#include "postgres.h"
+#include "access/genam.h"
#ifndef HAVE_MEMMOVE
#else
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/access/index/indexam.c,v 1.33 1999/07/15 22:38:43 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/access/index/indexam.c,v 1.34 1999/07/15 23:02:59 momjian Exp $
*
* INTERFACE ROUTINES
* index_open - open an index relation by relationId
*-------------------------------------------------------------------------
*/
+#include "postgres.h"
-#include
+#include "access/genam.h"
+#include "utils/relcache.h"
+#include "access/heapam.h"
/* ----------------
* undefine macros we aren't going to use that would otherwise
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/access/nbtree/nbtcompare.c,v 1.25 1999/07/15 22:38:45 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/access/nbtree/nbtcompare.c,v 1.26 1999/07/15 23:02:59 momjian Exp $
*
* NOTES
* These functions are stored in pg_amproc. For each operator class
#include
+#include "postgres.h"
-#include
+#include "utils/builtins.h"
int32
btint2cmp(int16 a, int16 b)
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/access/nbtree/nbtinsert.c,v 1.45 1999/07/15 22:38:45 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/access/nbtree/nbtinsert.c,v 1.46 1999/07/15 23:03:00 momjian Exp $
*
*-------------------------------------------------------------------------
*/
+#include "postgres.h"
+#include "access/nbtree.h"
+#include "access/heapam.h"
#ifndef HAVE_MEMMOVE
#else
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/access/nbtree/nbtpage.c,v 1.27 1999/07/15 22:38:46 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/access/nbtree/nbtpage.c,v 1.28 1999/07/15 23:03:00 momjian Exp $
*
* NOTES
* Postgres btree pages look like ordinary relation pages. The opaque
#include
#include
+#include "postgres.h"
-#include
+#include "access/nbtree.h"
+#include "miscadmin.h"
#ifndef HAVE_MEMMOVE
#else
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/access/nbtree/nbtree.c,v 1.42 1999/07/15 22:38:47 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/access/nbtree/nbtree.c,v 1.43 1999/07/15 23:03:00 momjian Exp $
*
* NOTES
* This file contains only the public interface routines.
*-------------------------------------------------------------------------
*/
+#include "postgres.h"
-#include
-#include
-#include
+#include "access/genam.h"
+#include "access/nbtree.h"
+#include "executor/executor.h"
+#include "access/heapam.h"
+#include "catalog/index.h"
+#include "miscadmin.h"
#ifndef HAVE_MEMMOVE
#else
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/access/nbtree/Attic/nbtscan.c,v 1.26 1999/07/15 22:38:48 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/access/nbtree/Attic/nbtscan.c,v 1.27 1999/07/15 23:03:00 momjian Exp $
*
*
* NOTES
*-------------------------------------------------------------------------
*/
+#include "postgres.h"
+#include "access/nbtree.h"
typedef struct BTScanListData
{
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/access/nbtree/nbtsearch.c,v 1.48 1999/07/15 22:38:48 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/access/nbtree/nbtsearch.c,v 1.49 1999/07/15 23:03:00 momjian Exp $
*
*-------------------------------------------------------------------------
*/
+#include "postgres.h"
+#include "access/genam.h"
+#include "access/nbtree.h"
#ifndef HAVE_MEMMOVE
#else
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/access/nbtree/Attic/nbtstrat.c,v 1.9 1999/07/15 22:38:49 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/access/nbtree/Attic/nbtstrat.c,v 1.10 1999/07/15 23:03:01 momjian Exp $
*
*-------------------------------------------------------------------------
*/
+#include "postgres.h"
+#include "access/istrat.h"
+#include "access/nbtree.h"
/*
* Note:
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/access/rtree/Attic/rtget.c,v 1.16 1999/07/15 22:38:51 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/access/rtree/Attic/rtget.c,v 1.17 1999/07/15 23:03:01 momjian Exp $
*
*-------------------------------------------------------------------------
*/
+#include "postgres.h"
+#include "access/iqual.h"
+#include "access/rtree.h"
#ifndef HAVE_MEMMOVE
#else
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/access/rtree/Attic/rtproc.c,v 1.21 1999/07/15 22:38:51 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/access/rtree/Attic/rtproc.c,v 1.22 1999/07/15 23:03:01 momjian Exp $
*
*-------------------------------------------------------------------------
*/
+#include "postgres.h"
-#include
+#include "utils/builtins.h"
#ifndef HAVE_MEMMOVE
#else
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/access/rtree/Attic/rtree.c,v 1.33 1999/07/15 22:38:51 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/access/rtree/Attic/rtree.c,v 1.34 1999/07/15 23:03:02 momjian Exp $
*
*-------------------------------------------------------------------------
*/
+#include "postgres.h"
-#include
-#include
-#include
+#include "access/genam.h"
+#include "catalog/index.h"
+#include "access/rtree.h"
+#include "utils/geo_decls.h"
+#include "executor/executor.h"
+#include "access/heapam.h"
#ifndef HAVE_MEMMOVE
#else
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/access/rtree/Attic/rtscan.c,v 1.26 1999/07/15 22:38:52 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/access/rtree/Attic/rtscan.c,v 1.27 1999/07/15 23:03:02 momjian Exp $
*
*-------------------------------------------------------------------------
*/
+#include "postgres.h"
+#include "access/genam.h"
+#include "access/rtree.h"
#ifndef HAVE_MEMMOVE
#else
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/access/rtree/Attic/rtstrat.c,v 1.12 1999/07/15 22:38:53 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/access/rtree/Attic/rtstrat.c,v 1.13 1999/07/15 23:03:02 momjian Exp $
*
*-------------------------------------------------------------------------
*/
+#include "postgres.h"
+#include "access/rtree.h"
+#include "access/istrat.h"
static StrategyNumber RelationGetRTStrategy(Relation r,
AttrNumber attnum, RegProcedure proc);
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/access/transam/transam.c,v 1.29 1999/07/15 22:38:53 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/access/transam/transam.c,v 1.30 1999/07/15 23:03:02 momjian Exp $
*
* NOTES
* This file contains the high level access-method interface to the
*-------------------------------------------------------------------------
*/
+#include "postgres.h"
-#include
-#include
+#include "access/heapam.h"
+#include "catalog/catname.h"
+#include "commands/vacuum.h"
static int RecoveryCheckingEnabled(void);
static void TransRecover(Relation logRelation);
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/access/transam/Attic/transsup.c,v 1.22 1999/07/15 22:38:54 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/access/transam/Attic/transsup.c,v 1.23 1999/07/15 23:03:03 momjian Exp $
*
* NOTES
* This file contains support functions for the high
*-------------------------------------------------------------------------
*/
+#include "postgres.h"
-#include
+#include "utils/bit.h"
+#include "access/xact.h"
static XidStatus TransBlockGetXidStatus(Block tblock,
TransactionId transactionId);
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/access/transam/varsup.c,v 1.23 1999/07/15 22:38:54 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/access/transam/varsup.c,v 1.24 1999/07/15 23:03:03 momjian Exp $
*
*-------------------------------------------------------------------------
*/
+#include "postgres.h"
-#include
-#include
+#include "access/heapam.h"
+#include "catalog/catname.h"
+#include "storage/proc.h"
static void GetNewObjectIdBlock(Oid *oid_return, int oid_block_size);
static void VariableRelationGetNextOid(Oid *oid_return);
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/access/transam/xact.c,v 1.44 1999/07/15 22:38:54 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/access/transam/xact.c,v 1.45 1999/07/15 23:03:03 momjian Exp $
*
* NOTES
* Transaction aborts can now occur two ways:
* [PA, 7/17/98]
*/
-
-#include
-#include
-#include
-#include
-#include
-#include
-#include
-#include
+#include "postgres.h"
+
+#include "utils/inval.h"
+#include "utils/portal.h"
+#include "storage/proc.h"
+#include "catalog/heap.h"
+#include "utils/relcache.h"
+#include "commands/async.h"
+#include "commands/sequence.h"
+#include "libpq/be-fsstubs.h"
extern bool SharedBufferChanged;
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: xid.c,v 1.24 1999/07/15 15:18:45 momjian Exp $
+ * $Id: xid.c,v 1.25 1999/07/15 23:03:04 momjian Exp $
*
* OLD COMMENTS
* XXX WARNING
#include
+#include "postgres.h"
+#include "access/xact.h"
extern TransactionId NullTransactionId;
extern TransactionId DisabledTransactionId;
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/catalog/catalog.c,v 1.21 1999/05/25 16:08:01 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/catalog/catalog.c,v 1.22 1999/07/15 23:03:04 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#include
+#include "postgres.h"
#include /* for DataDir */
-#include
+#include "utils/syscache.h"
#include /* NameIs{,Shared}SystemRelationName */
-#include
-#include
+#include "catalog/pg_type.h"
+#include "catalog/catalog.h"
+#include "access/transam.h"
/*
* relpath - path to the relation
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/catalog/pg_aggregate.c,v 1.21 1999/07/15 22:38:58 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/catalog/pg_aggregate.c,v 1.22 1999/07/15 23:03:04 momjian Exp $
*
*-------------------------------------------------------------------------
*/
+#include "postgres.h"
-#include
-#include
-#include
-#include
-#include
-#include
-#include
+#include "access/heapam.h"
+#include "utils/builtins.h"
+#include "catalog/catname.h"
+#include "utils/syscache.h"
+#include "catalog/pg_proc.h"
+#include "catalog/pg_type.h"
+#include "catalog/pg_aggregate.h"
+#include "miscadmin.h"
#ifndef HAVE_MEMMOVE
#else
#include
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/commands/_deadcode/Attic/recipe.c,v 1.4 1999/05/25 22:40:56 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/commands/_deadcode/Attic/recipe.c,v 1.5 1999/07/15 23:03:09 momjian Exp $
*
*-------------------------------------------------------------------------
*/
-
-#include
-#include
-#include
-#include
-#include
-#include
-#include
-#include
+#include "postgres.h"
+
+#include "nodes/parsenodes.h"
+#include "nodes/plannodes.h"
+#include "nodes/execnodes.h"
+#include "nodes/makefuncs.h"
+#include "catalog/pg_type.h"
+#include "commands/recipe.h"
+#include "libpq/libpq-be.h"
+#include "parser/parse_node.h"
+#include "utils/builtins.h"
#include /* for RelationNameGetRelation */
-#include
-#include
-#include
-#include
-#include
-#include
+#include "rewrite/rewriteHandler.h"
+#include "rewrite/rewriteManip.h"
+#include "tcop/pquery.h"
+#include "tcop/dest.h"
+#include "optimizer/planner.h"
+#include "executor/executor.h"
/* from tcop/postgres.c */
extern CommandDest whereToSendOutput;
#else
-#include
+#include "tioga/tgRecipe.h"
#define DEBUG_RECIPE 1
* doesn't work! - jolly 8/19/95
*
*
- * $Id: version.c,v 1.20 1999/07/15 22:39:03 momjian Exp $
+ * $Id: version.c,v 1.21 1999/07/15 23:03:09 momjian Exp $
*
* NOTES
* At the point the version is defined, 2 physical relations are created
#include
#include
+#include "postgres.h"
#define MAX_QUERY_LEN 1024
* Copyright (c) 1994, Regents of the University of California
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/commands/async.c,v 1.48 1999/07/15 22:38:59 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/commands/async.c,v 1.49 1999/07/15 23:03:06 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#include "libpq/pqformat.h"
#include "miscadmin.h"
#include "utils/syscache.h"
-#include
-#include
+#include "utils/trace.h"
+#include "utils/ps_status.h"
/* stuff that we really ought not be touching directly :-( */
extern TransactionState CurrentTransactionState;
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/commands/cluster.c,v 1.41 1999/07/15 22:39:00 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/commands/cluster.c,v 1.42 1999/07/15 23:03:06 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#include
-
-#include
-#include
-#include
-#include
-#include
-#include
-#include
-#include
-#include
+#include "postgres.h"
+
+#include "catalog/heap.h"
+#include "access/heapam.h"
+#include "access/genam.h"
+#include "utils/syscache.h"
+#include "catalog/index.h"
+#include "catalog/pg_type.h"
+#include "commands/cluster.h"
+#include "commands/rename.h"
+#include "utils/builtins.h"
+#include "catalog/pg_proc.h"
+#include "optimizer/internal.h"
#ifndef NO_SECURITY
#endif /* !NO_SECURITY */
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/commands/Attic/command.c,v 1.49 1999/07/15 22:39:00 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/commands/Attic/command.c,v 1.50 1999/07/15 23:03:07 momjian Exp $
*
* NOTES
* The PortalExecutorHeapMemory crap needs to be eliminated
#include "utils/temprel.h"
#include "utils/syscache.h"
#include "miscadmin.h"
-#include "string.h"
+#include
/* ----------------
* PortalExecutorHeapMemory stuff
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/commands/copy.c,v 1.82 1999/07/15 22:39:01 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/commands/copy.c,v 1.83 1999/07/15 23:03:07 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#include
#include
+#include "postgres.h"
-#include
-#include
-#include
+#include "access/heapam.h"
+#include "miscadmin.h"
+#include "utils/builtins.h"
+#include "utils/acl.h"
#include
-#include
-#include
-#include
-#include
-#include
-#include
-#include
-#include
+#include "catalog/pg_index.h"
+#include "utils/syscache.h"
+#include "executor/executor.h"
+#include "catalog/index.h"
+#include "access/genam.h"
+#include "catalog/pg_type.h"
+#include "catalog/catname.h"
+#include "catalog/pg_shadow.h"
+#include "commands/copy.h"
#include "commands/trigger.h"
-#include
+#include "libpq/libpq.h"
#ifdef MULTIBYTE
#endif
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/commands/Attic/creatinh.c,v 1.42 1999/07/15 22:39:01 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/commands/Attic/creatinh.c,v 1.43 1999/07/15 23:03:07 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#include
#include
+#include "postgres.h"
-#include
-#include
-#include
-#include
-#include
-#include
-#include
+#include "catalog/heap.h"
+#include "commands/creatinh.h"
+#include "access/heapam.h"
+#include "utils/syscache.h"
+#include "catalog/catname.h"
+#include "catalog/pg_type.h"
+#include "catalog/pg_inherits.h"
+#include "catalog/pg_ipl.h"
/* ----------------
* local stuff
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/commands/define.c,v 1.30 1999/07/15 15:18:53 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/commands/define.c,v 1.31 1999/07/15 23:03:08 momjian Exp $
*
* DESCRIPTION
* The "DefineFoo" routines take the parse tree and pick out the
#include
#include
+#include "postgres.h"
-#include
-#include
-#include
-#include
-#include
-#include
-#include
+#include "access/heapam.h"
+#include "catalog/catname.h"
+#include "catalog/pg_aggregate.h"
+#include "catalog/pg_operator.h"
+#include "catalog/pg_proc.h"
+#include "catalog/pg_type.h"
+#include "catalog/pg_language.h"
+#include "utils/syscache.h"
#include /* for fmgr */
#include /* prototype for textin() */
-#include
-#include
-#include
-#include
+#include "commands/defrem.h"
+#include "tcop/dest.h"
+#include "catalog/pg_shadow.h"
+#include "optimizer/cost.h"
static char *defGetString(DefElem *def);
static int defGetTypeLength(DefElem *def);
*
* Copyright (c) 1994-5, Regents of the University of California
*
- * $Id: explain.c,v 1.39 1999/07/15 22:39:01 momjian Exp $
+ * $Id: explain.c,v 1.40 1999/07/15 23:03:08 momjian Exp $
*
*/
#include
#include
+#include "postgres.h"
-#include
-#include
-#include
-#include
-#include
-#include
+#include "nodes/print.h"
+#include "lib/stringinfo.h"
+#include "commands/explain.h"
+#include "parser/parsetree.h"
+#include "optimizer/planner.h"
+#include "utils/relcache.h"
+#include "rewrite/rewriteHandler.h"
typedef struct ExplainState
{
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/commands/indexcmds.c,v 1.5 1999/07/15 22:39:01 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/commands/indexcmds.c,v 1.6 1999/07/15 23:03:08 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#include
-
-#include
-#include
-#include
-#include
-#include
-#include
-#include
-#include
-#include
+#include "postgres.h"
+
+#include "access/genam.h"
+#include "access/heapam.h"
+#include "utils/builtins.h"
+#include "utils/syscache.h"
+#include "catalog/heap.h"
+#include "catalog/index.h"
+#include "catalog/pg_index.h"
+#include "catalog/pg_proc.h"
+#include "catalog/pg_type.h"
+#include "catalog/pg_opclass.h"
+#include "commands/defrem.h"
#include
/* for getrelid() */
-#include
-#include
+#include "optimizer/prep.h"
+#include "optimizer/clauses.h"
#define IsFuncIndex(ATTR_LIST) (((IndexElem*)lfirst(ATTR_LIST))->args!=NULL)
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/commands/Attic/rename.c,v 1.27 1999/07/15 22:39:02 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/commands/Attic/rename.c,v 1.28 1999/07/15 23:03:08 momjian Exp $
*
*-------------------------------------------------------------------------
*/
-
-#include
-#include
-#include
-#include
-#include
-#include
-#include
+#include "postgres.h"
+
+#include "access/heapam.h"
+#include "catalog/catname.h"
+#include "utils/syscache.h"
+#include "catalog/heap.h"
+#include "catalog/indexing.h"
+#include "catalog/catalog.h"
+#include "commands/rename.h"
+#include "miscadmin.h"
#include /* for find_all_inheritors */
#ifndef NO_SECURITY
-#include
+#include "utils/acl.h"
#endif /* !NO_SECURITY */
#ifndef HAVE_MEMMOVE
#else
#include
#include
-#include
-
-#include
-#include
-#include
-#include
+#include "postgres.h"
+#include "miscadmin.h"
+
+#include "access/heapam.h"
+#include "commands/creatinh.h"
+#include "commands/sequence.h"
+#include "utils/builtins.h"
+#include "utils/acl.h"
#define SEQ_MAGIC 0x1717
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: user.c,v 1.29 1999/07/15 22:39:02 momjian Exp $
+ * $Id: user.c,v 1.30 1999/07/15 23:03:08 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#include
#include
-
-#include
-#include
-#include
-#include
-#include
-#include
-#include
-#include
-#include
+#include "postgres.h"
+
+#include "miscadmin.h"
+#include "catalog/catname.h"
+#include "catalog/pg_database.h"
+#include "catalog/pg_shadow.h"
+#include "libpq/crypt.h"
+#include "access/heapam.h"
+#include "tcop/tcopprot.h"
+#include "utils/acl.h"
+#include "utils/syscache.h"
+#include "commands/user.h"
static void CheckPgUserAclNotNull(void);
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: view.c,v 1.34 1999/07/15 22:39:03 momjian Exp $
+ * $Id: view.c,v 1.35 1999/07/15 23:03:08 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#include
#include
-
-#include
-#include
-#include
-#include
-#include
-#include
+#include "postgres.h"
+
+#include "catalog/heap.h"
+#include "access/xact.h"
+#include "parser/parse_relation.h"
+#include "parser/parse_type.h"
+#include "rewrite/rewriteDefine.h"
+#include "rewrite/rewriteManip.h"
+#include "rewrite/rewriteRemove.h"
+#include "commands/creatinh.h"
+#include "commands/view.h"
/*---------------------------------------------------------------------
* DefineVirtualRelation
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/lib/Attic/bit.c,v 1.7 1999/07/15 22:39:11 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/lib/Attic/bit.c,v 1.8 1999/07/15 23:03:10 momjian Exp $
*
*-------------------------------------------------------------------------
*/
/*
* utils/memutils.h contains declarations of the functions in this file
*/
+#include "postgres.h"
-#include
+#include "utils/bit.h"
void
BitArraySetBit(BitArray bitArray, BitIndex bitIndex)
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/lib/dllist.c,v 1.14 1999/06/03 01:28:24 tgl Exp $
+ * $Header: /cvsroot/pgsql/src/backend/lib/dllist.c,v 1.15 1999/07/15 23:03:11 momjian Exp $
*
*-------------------------------------------------------------------------
*/
-#include
+#include "postgres.h"
+#include "lib/dllist.h"
/* When this file is compiled for inclusion in libpq,
* it can't use assert checking. Probably this fix ought to be
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/lib/Attic/fstack.c,v 1.11 1999/05/25 16:08:52 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/lib/Attic/fstack.c,v 1.12 1999/07/15 23:03:11 momjian Exp $
*
*-------------------------------------------------------------------------
*/
+#include "postgres.h"
-#include
+#include "lib/fstack.h"
/*
* Internal function definitions
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/lib/Attic/hasht.c,v 1.9 1999/07/15 22:39:12 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/lib/Attic/hasht.c,v 1.10 1999/07/15 23:03:12 momjian Exp $
*
*-------------------------------------------------------------------------
*/
+#include "postgres.h"
-#include
-#include
+#include "utils/memutils.h"
+#include "lib/hasht.h"
/* -----------------------------------
* HashTableWalk
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/lib/Attic/lispsort.c,v 1.11 1999/07/15 22:39:12 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/lib/Attic/lispsort.c,v 1.12 1999/07/15 23:03:12 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#include
+#include "postgres.h"
#ifdef NOT_USED
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/libpq/auth.c,v 1.37 1999/05/26 12:55:15 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/libpq/auth.c,v 1.38 1999/07/15 23:03:12 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#include
-#include
+#include "postgres.h"
+#include "miscadmin.h"
-#include
-#include
-#include
-#include
-#include
+#include "libpq/auth.h"
+#include "libpq/libpq.h"
+#include "libpq/hba.h"
+#include "libpq/password.h"
+#include "libpq/crypt.h"
static void sendAuthRequest(Port *port, AuthRequest areq, PacketDoneProc handler);
*----------------------------------------------------------------
*/
-#include
+#include "krb.h"
/*
* pg_krb4_recvauth -- server routine to receive authentication information
*----------------------------------------------------------------
*/
-#include
+#include "krb5/krb5.h"
/*
* pg_an_to_ln -- return the local name corresponding to an authentication
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: be-dumpdata.c,v 1.27 1999/07/15 22:39:13 momjian Exp $
+ * $Id: be-dumpdata.c,v 1.28 1999/07/15 23:03:13 momjian Exp $
*
*-------------------------------------------------------------------------
*/
*/
#include
+#include "postgres.h"
-#include
-#include
-#include
+#include "lib/dllist.h"
+#include "libpq/libpq.h"
+#include "access/heapam.h"
+#include "catalog/catalog.h"
+#include "access/printtup.h"
/* ----------------
* backend portal stack for recursive PQexec calls
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/libpq/be-fsstubs.c,v 1.37 1999/07/15 22:39:13 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/libpq/be-fsstubs.c,v 1.38 1999/07/15 23:03:13 momjian Exp $
*
* NOTES
* This should be moved to a more appropriate place. It is here
#include
#include
+#include "postgres.h"
-#include
+#include "libpq/libpq-fs.h"
#include /* for superuser() */
-#include
-#include
+#include "storage/large_object.h"
+#include "libpq/be-fsstubs.h"
/* [PA] is Pascal André
*/
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/libpq/Attic/be-pqexec.c,v 1.21 1999/07/15 22:39:14 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/libpq/Attic/be-pqexec.c,v 1.22 1999/07/15 23:03:13 momjian Exp $
*
*-------------------------------------------------------------------------
*/
* NOTES
* These routines are compiled into the postgres backend.
*/
+#include "postgres.h"
-#include
-#include
-#include
-#include
+#include "tcop/fastpath.h"
+#include "tcop/tcopprot.h"
+#include "libpq/libpq.h"
+#include "utils/builtins.h"
#ifndef HAVE_MEMMOVE
#else
#include
* wherein you authenticate a user by seeing what IP address the system
* says he comes from and possibly using ident).
*
- * $Id: hba.c,v 1.44 1999/07/15 22:39:14 momjian Exp $
+ * $Id: hba.c,v 1.45 1999/07/15 23:03:13 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#include
-#include
-#include
+#include "postgres.h"
+#include "miscadmin.h"
+#include "libpq/libpq.h"
/* Some standard C libraries, including GNU, have an isblank() function.
Others, including Solaris, do not. So we have our own.
/*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: password.c,v 1.22 1999/07/15 22:39:14 momjian Exp $
+ * $Id: password.c,v 1.23 1999/07/15 23:03:14 momjian Exp $
*
*/
-#include
-#include
-#include
+#include "postgres.h"
+#include "miscadmin.h"
+#include "libpq/password.h"
+#include "libpq/libpq.h"
#include
#include
#ifdef HAVE_CRYPT_H
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: portal.c,v 1.23 1999/07/15 22:39:14 momjian Exp $
+ * $Id: portal.c,v 1.24 1999/07/15 23:03:14 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#include
#include
+#include "postgres.h"
#include /* where the declarations go */
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/libpq/Attic/portalbuf.c,v 1.17 1999/07/15 22:39:15 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/libpq/Attic/portalbuf.c,v 1.18 1999/07/15 23:03:14 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#include
#include
+#include "postgres.h"
#include /* where the declarations go */
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/libpq/Attic/pqpacket.c,v 1.20 1999/07/15 22:39:15 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/libpq/Attic/pqpacket.c,v 1.21 1999/07/15 23:03:14 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#include
#include
-#include
+#include "postgres.h"
+#include "libpq/libpq.h"
/*
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/libpq/pqsignal.c,v 1.11 1999/02/13 23:15:48 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/libpq/pqsignal.c,v 1.12 1999/07/15 23:03:14 momjian Exp $
*
* NOTES
* This shouldn't be in libpq, but the monitor and some other
* is to do signal-handler reinstallation, which doesn't work well
* at all.
* ------------------------------------------------------------------------*/
+#include "postgres.h"
#include
-#include
+#include "libpq/pqsignal.h"
pqsigfunc
pqsignal(int signo, pqsigfunc func)
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: util.c,v 1.10 1999/07/15 22:39:15 momjian Exp $
+ * $Id: util.c,v 1.11 1999/07/15 23:03:14 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#include
#include
+#include "postgres.h"
#include /* where the declarations go */
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/main/main.c,v 1.24 1999/07/13 20:12:46 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/main/main.c,v 1.25 1999/07/15 23:03:15 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#if defined(__alpha__) && !defined(linux)
#include
-#include
+#include "machine/hal_sysinfo.h"
#define ASSEMBLER
#include
#undef ASSEMBLER
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/optimizer/plan/createplan.c,v 1.59 1999/07/15 22:39:26 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/optimizer/plan/createplan.c,v 1.60 1999/07/15 23:03:16 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#include "postgres.h"
-#include
+#include "utils/syscache.h"
#include "nodes/nodeFuncs.h"
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/optimizer/util/clauses.c,v 1.38 1999/07/15 22:39:29 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/optimizer/util/clauses.c,v 1.39 1999/07/15 23:03:17 momjian Exp $
*
* HISTORY
* AUTHOR DATE MAJOR EVENT
#include "postgres.h"
-#include
+#include "catalog/pg_operator.h"
#include "nodes/plannodes.h"
#include "nodes/makefuncs.h"
#include "nodes/nodeFuncs.h"
#include
#include
#include
-#include
+#include "sys/ldr.h"
-#include
+#include "ldfcn.h"
#include "postgres.h"
#include "dynloader.h"
#include
#include
-#include
+#include "link.h"
#include
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: bsd.h,v 1.3 1999/02/13 23:17:16 momjian Exp $
+ * $Id: bsd.h,v 1.4 1999/07/15 23:03:19 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#include
#include
-#include
+#include "link.h"
#include "postgres.h"
#include
#include
-#include
+#include "link.h"
#include
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: freebsd.h,v 1.2 1999/02/13 23:17:19 momjian Exp $
+ * $Id: freebsd.h,v 1.3 1999/07/15 23:03:20 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#include
#include
-#include
+#include "link.h"
#include "postgres.h"
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/port/dynloader/hpux.c,v 1.7 1999/02/13 23:17:20 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/port/dynloader/hpux.c,v 1.8 1999/07/15 23:03:20 momjian Exp $
*
* NOTES
* all functions are defined here -- it's impossible to trace the
/* System includes */
#include
+#include "dl.h"
#include "postgres.h"
#include "fmgr.h"
#include "utils/dynamic_loader.h"
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: linux.h,v 1.5 1999/02/13 23:17:23 momjian Exp $
+ * $Id: linux.h,v 1.6 1999/07/15 23:03:20 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#include "fmgr.h" /* for func_ptr */
#include "utils/dynamic_loader.h"
#ifdef __ELF__
-#include "dlfcn.h"
#endif
/* dynloader.c */
-#include
-#include
+#include "mach-o/rld.h"
+#include "streams/streams.h"
#include
static char *lastError = NULL;
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/port/dynloader/ultrix4.c,v 1.6 1999/07/15 15:19:36 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/port/dynloader/ultrix4.c,v 1.7 1999/07/15 23:03:20 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#include
+#include "postgres.h"
#include "dl.h"
-#include
+#include "utils/dynamic_loader.h"
#include "postgres.h"
#include "fmgr.h"
#include "port-protos.h"
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: ultrix4.h,v 1.3 1999/02/13 23:17:29 momjian Exp $
+ * $Id: ultrix4.h,v 1.4 1999/07/15 23:03:21 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#define _DL_HEADER_
#include /* needed to declare FILE for ldfcn.h */
-#include
-#include
-#include
-#include
-#include
+#include "filehdr.h"
+#include "syms.h"
+#include "ldfcn.h"
+#include "reloc.h"
+#include "scnhdr.h"
typedef long CoreAddr;
#ifndef _POSIX_SOURCE
-#include
+#include "libc.h"
#else
#include
#include
-/* $Id: strerror.c,v 1.5 1998/09/01 03:24:33 momjian Exp $ */
+/* $Id: strerror.c,v 1.6 1999/07/15 23:03:18 momjian Exp $ */
/*
* strerror - map error number to descriptive string
* modified for ANSI by D'Arcy J.M. Cain
*/
-#include
-#include
-#include
+#include
+#include
+#include
extern const char *const sys_errlist[];
extern int sys_nerr;
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/postmaster/postmaster.c,v 1.109 1999/07/15 15:19:38 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/postmaster/postmaster.c,v 1.110 1999/07/15 23:03:22 momjian Exp $
*
* NOTES
*
#endif
#ifdef __CYGWIN32__
-#include
+#include "getopt.h"
#endif
#include "storage/ipc.h"
#include
-#include
-#include
-#include
-#include
-#include
+#include "regex/regex.h"
+#include "regex/utils.h"
+#include "regex/regex2.h"
+#include "regex/cclass.h"
+#include "regex/cname.h"
/*
* parse structure, passed up and down to avoid global variables and
#include
-#include
-#include
-#include
+#include "regex/regex.h"
+#include "regex/utils.h"
+#include "regex/regex2.h"
/* ========= begin header generated by ./mkh ========= */
#ifdef __cplusplus
#include
-#include
-#include
-#include
+#include "regex/regex.h"
+#include "regex/utils.h"
+#include "regex/regex2.h"
static int nope = 0; /* for use in asserts; shuts lint up */
#include
#include
-#include
-#include
-#include
+#include "regex/regex.h"
+#include "regex/utils.h"
+#include "regex/regex2.h"
/*
- regfree - free everything
/*
* a simple regexp debug program
*
- * $Header: /cvsroot/pgsql/src/backend/regex/Attic/retest.c,v 1.2 1999/05/25 16:10:45 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/regex/Attic/retest.c,v 1.3 1999/07/15 23:03:24 momjian Exp $
*/
#include
#include
#include "postgres.h"
-#include
+#include "regex/regex.h"
int
main()
#
#
# IDENTIFICATION
-# $Header: /cvsroot/pgsql/src/backend/utils/Attic/Gen_fmgrtab.sh.in,v 1.15 1999/04/09 22:35:41 tgl Exp $
+# $Header: /cvsroot/pgsql/src/backend/utils/Attic/Gen_fmgrtab.sh.in,v 1.16 1999/07/15 23:03:25 momjian Exp $
#
# NOTES
# Passes any -D options on to cpp prior to generating the list
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: Gen_fmgrtab.sh.in,v 1.15 1999/04/09 22:35:41 tgl Exp $
+ * $Id: Gen_fmgrtab.sh.in,v 1.16 1999/07/15 23:03:25 momjian Exp $
*
* NOTES
* ******************************
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/utils/Attic/Gen_fmgrtab.sh.in,v 1.15 1999/04/09 22:35:41 tgl Exp $
+ * $Header: /cvsroot/pgsql/src/backend/utils/Attic/Gen_fmgrtab.sh.in,v 1.16 1999/07/15 23:03:25 momjian Exp $
*
* NOTES
*
*/
#include
+#include "postgres.h"
#include "utils/fmgrtab.h"
FuNkYfMgRtAbStUfF
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/utils/adt/acl.c,v 1.37 1999/07/09 03:28:51 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/utils/adt/acl.c,v 1.38 1999/07/15 23:03:25 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#include
#include "postgres.h"
-#include
+#include "utils/memutils.h"
#include "utils/acl.h"
#include "utils/syscache.h"
#include "catalog/catalog.h"
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/utils/adt/Attic/chunk.c,v 1.20 1999/05/25 16:11:55 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/utils/adt/Attic/chunk.c,v 1.21 1999/07/15 23:03:26 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#include "utils/memutils.h"
#ifndef HAVE_MEMMOVE
-#include
+#include "regex/utils.h"
#else
#include
#endif
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/utils/adt/Attic/filename.c,v 1.19 1999/07/15 15:20:15 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/utils/adt/Attic/filename.c,v 1.20 1999/07/15 23:03:26 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#include
#include "postgres.h"
-#include
+#include "miscadmin.h"
#include "utils/builtins.h" /* where function declarations go */
char *
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static const char rcsid[] = "$Id: inet_net_ntop.c,v 1.6 1999/05/25 16:12:04 momjian Exp $";
+static const char rcsid[] = "$Id: inet_net_ntop.c,v 1.7 1999/07/15 23:03:26 momjian Exp $";
#endif
#include
#include
-#include
+#include "postgres.h"
+#include "utils/builtins.h"
#ifdef SPRINTF_CHAR
#define SPRINTF(x) strlen(sprintf/**/x)
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static const char rcsid[] = "$Id: inet_net_pton.c,v 1.8 1999/05/25 16:12:05 momjian Exp $";
+static const char rcsid[] = "$Id: inet_net_pton.c,v 1.9 1999/07/15 23:03:27 momjian Exp $";
#endif
#include
#include
-#include
+#include "postgres.h"
+#include "utils/builtins.h"
#ifdef SPRINTF_CHAR
#define SPRINTF(x) strlen(sprintf/**/x)
/*
* PostgreSQL type definitions for MAC addresses.
*
- * $Id: mac.c,v 1.11 1999/07/15 22:39:59 momjian Exp $
+ * $Id: mac.c,v 1.12 1999/07/15 23:03:27 momjian Exp $
*/
#include
#include
-#include
+#include "postgres.h"
+#include "utils/builtins.h"
manufacturer manufacturers[] = {
{0x00, 0x00, 0x0C, "Cisco"},
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: nabstime.c,v 1.57 1999/07/15 15:20:18 momjian Exp $
+ * $Id: nabstime.c,v 1.58 1999/07/15 23:03:27 momjian Exp $
*
*/
#include
#include
#include "postgres.h"
-#include
+#include "miscadmin.h"
#ifdef HAVE_FLOAT_H
#include
#endif
* is for IP V4 CIDR notation, but prepared for V6: just
* add the necessary bits where the comments indicate.
*
- * $Id: network.c,v 1.13 1999/07/15 22:40:00 momjian Exp $
+ * $Id: network.c,v 1.14 1999/07/15 23:03:27 momjian Exp $
* Jon Postel RIP 16 Oct 1998
*/
#include
-#include
+#include "postgres.h"
+#include "utils/builtins.h"
static int v4bitncmp(unsigned int a1, unsigned int a2, int bits);
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/utils/adt/regexp.c,v 1.24 1999/07/15 15:20:19 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/utils/adt/regexp.c,v 1.25 1999/07/15 23:03:27 momjian Exp $
*
* Alistair Crooks added the code for the regex caching
* agc - cached the regular expressions used - there's a good chance
#include
#include "postgres.h" /* postgres system include file */
-#include
+#include "regex/regex.h"
#include "utils/builtins.h" /* where the function declarations go */
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/utils/cache/inval.c,v 1.24 1999/07/15 22:40:03 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/utils/cache/inval.c,v 1.25 1999/07/15 23:03:27 momjian Exp $
*
* Note - this code is real crufty...
*
*/
#include "postgres.h"
-#include
+#include "miscadmin.h"
#include "catalog/catalog.h"
#include "catalog/heap.h"
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/utils/hash/dynahash.c,v 1.24 1999/07/15 15:20:31 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/utils/hash/dynahash.c,v 1.25 1999/07/15 23:03:29 momjian Exp $
*
*-------------------------------------------------------------------------
*/
* changed ctl structure for shared memory
*/
-#include
-#include
-#include
-#include "postgres.h"
-#include "utils/dynahash.h"
-#include "utils/hsearch.h"
+#include
+#include
+#include
+#include "postgres.h"
+#include "utils/dynahash.h"
+#include "utils/hsearch.h"
#ifndef FRONTEND
#endif /* !FRONTEND */
-#include "utils/memutils.h"
+#include "utils/memutils.h"
/*
* Fast MOD arithmetic, assuming that y is a power of 2 !
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/utils/init/globals.c,v 1.32 1999/07/15 22:40:08 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/utils/init/globals.c,v 1.33 1999/07/15 23:03:30 momjian Exp $
*
* NOTES
* Globals used all over the place should be declared here and not
#include "postgres.h"
#include "miscadmin.h" /* where the declarations go */
-#include
+#include "storage/backendid.h"
#include "storage/lmgr.h"
#include "libpq/pqcomm.h"
#include "catalog/catname.h"
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/utils/init/postinit.c,v 1.42 1999/07/15 22:40:09 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/utils/init/postinit.c,v 1.43 1999/07/15 23:03:30 momjian Exp $
*
* NOTES
* InitPostgres() is the function called from PostgresMain
#include "postgres.h"
#include "version.h"
-#include
-#include
-#include
-#include
+#include "storage/backendid.h"
+#include "storage/smgr.h"
+#include "storage/proc.h"
+#include "utils/relcache.h"
#include "access/heapam.h"
#include "utils/syscache.h"
/*
* testing of utf2wchar()
- * $Id: utftest.c,v 1.2 1998/09/01 04:33:23 momjian Exp $
+ * $Id: utftest.c,v 1.3 1999/07/15 23:03:31 momjian Exp $
*/
-#include
-#include
-#include
+#include "regex/regex.h"
+#include "regex/utils.h"
+#include "regex/regex2.h"
-#include
+#include "regex/pg_wchar.h"
main()
{
* SUCH DAMAGE.
*/
-#include
+#include "mb/pg_wchar.h"
int
pg_char_and_wchar_strcmp(s1, s2)
* SUCH DAMAGE.
*/
-#include
+#include "mb/pg_wchar.h"
int
pg_wchar_strncmp(s1, s2, n)
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/utils/misc/superuser.c,v 1.8 1999/02/13 23:20:06 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/utils/misc/superuser.c,v 1.9 1999/07/15 23:03:32 momjian Exp $
*
* DESCRIPTION
* See superuser().
*-------------------------------------------------------------------------
*/
-#include
-#include
+#include "postgres.h"
+#include "utils/syscache.h"
+#include "catalog/pg_shadow.h"
bool
superuser(void)
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: genam.h,v 1.18 1999/02/13 23:20:50 momjian Exp $
+ * $Id: genam.h,v 1.19 1999/07/15 23:03:33 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef GENAM_H
#define GENAM_H
+#include "access/sdir.h"
+#include "access/funcindex.h"
+#include "access/relscan.h"
+#include "access/itup.h"
/* ----------------
* generalized index_ interface routines
#ifndef GIST_H
#define GIST_H
+#include "access/funcindex.h"
+#include "access/itup.h"
+#include "access/relscan.h"
+#include "access/sdir.h"
/*
** You can have as many strategies as you please in GiSTs, as
*/
#ifndef GISTSCAN_H
+#include "access/relscan.h"
extern IndexScanDesc gistbeginscan(Relation r, bool fromEnd,
uint16 nkeys, ScanKey key);
#ifndef GISTSTRAT_H
#define GISTSTRAT_H
-#include
+#include "utils/rel.h"
extern StrategyNumber RelationGetGISTStrategy(Relation r,
AttrNumber attnum, RegProcedure proc);
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: hash.h,v 1.25 1999/07/15 15:20:53 momjian Exp $
+ * $Id: hash.h,v 1.26 1999/07/15 23:03:34 momjian Exp $
*
* NOTES
* modeled after Margo Seltzer's hash implementation for unix.
#ifndef HASH_H
#define HASH_H
-#include
+#include "access/sdir.h"
+#include "access/funcindex.h"
+#include "access/relscan.h"
+#include "access/itup.h"
+#include "utils/int8.h"
/*
* An overflow page is a spare page allocated for storing data whose
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: hio.h,v 1.12 1999/07/15 15:20:54 momjian Exp $
+ * $Id: hio.h,v 1.13 1999/07/15 23:03:34 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef HIO_H
#define HIO_H
+#include "access/htup.h"
extern void RelationPutHeapTuple(Relation relation, Buffer buffer,
HeapTuple tuple);
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: htup.h,v 1.23 1999/07/15 15:20:54 momjian Exp $
+ * $Id: htup.h,v 1.24 1999/07/15 23:03:34 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef HTUP_H
#define HTUP_H
-#include
+#include "storage/bufpage.h"
#define MinHeapTupleBitmapSize 32 /* 8 * 4 */
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: ibit.h,v 1.9 1999/02/13 23:20:54 momjian Exp $
+ * $Id: ibit.h,v 1.10 1999/07/15 23:03:34 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef IBIT_H
#define IBIT_H
-#include
+#include "utils/memutils.h"
typedef struct IndexAttributeBitMapData
{
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: iqual.h,v 1.11 1999/02/13 23:20:55 momjian Exp $
+ * $Id: iqual.h,v 1.12 1999/07/15 23:03:34 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef IQUAL_H
#define IQUAL_H
+#include "access/skey.h"
+#include "access/itup.h"
/* ----------------
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: istrat.h,v 1.14 1999/07/15 15:20:54 momjian Exp $
+ * $Id: istrat.h,v 1.15 1999/07/15 23:03:35 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef ISTRAT_H
#define ISTRAT_H
-#include
+#include "utils/rel.h"
/*
* StrategyNumberIsValid
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: itup.h,v 1.18 1999/07/15 15:20:54 momjian Exp $
+ * $Id: itup.h,v 1.19 1999/07/15 23:03:35 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef ITUP_H
#define ITUP_H
-#include
+#include "access/ibit.h"
+#include "access/tupmacs.h"
+#include "access/tupdesc.h"
+#include "storage/itemptr.h"
#define MaxIndexAttributeNumber 7
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: nbtree.h,v 1.28 1999/07/15 15:20:55 momjian Exp $
+ * $Id: nbtree.h,v 1.29 1999/07/15 23:03:35 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef NBTREE_H
#define NBTREE_H
+#include "access/sdir.h"
+#include "access/relscan.h"
+#include "access/funcindex.h"
+#include "access/itup.h"
/*
* BTPageOpaqueData -- At the end of every page, we store a pointer
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: printtup.h,v 1.10 1999/05/25 22:42:32 momjian Exp $
+ * $Id: printtup.h,v 1.11 1999/07/15 23:03:35 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef PRINTTUP_H
#define PRINTTUP_H
-#include
+#include "tcop/dest.h"
extern DestReceiver *printtup_create_DR(void);
extern void showatts(char *name, TupleDesc attinfo);
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: relscan.h,v 1.16 1999/07/15 15:20:55 momjian Exp $
+ * $Id: relscan.h,v 1.17 1999/07/15 23:03:36 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef RELSCAN_H
#define RELSCAN_H
-#include
+#include "utils/tqual.h"
typedef ItemPointerData MarkData;
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: rtree.h,v 1.15 1999/07/15 15:20:55 momjian Exp $
+ * $Id: rtree.h,v 1.16 1999/07/15 23:03:36 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef RTREE_H
#define RTREE_H
+#include "access/funcindex.h"
+#include "access/itup.h"
+#include "access/relscan.h"
+#include "access/sdir.h"
/* see rtstrat.c for what all this is about */
#define RTNStrategies 8
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: rtscan.h,v 1.6 1999/02/13 23:20:58 momjian Exp $
+ * $Id: rtscan.h,v 1.7 1999/07/15 23:03:37 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef RTSCAN_H
#define RTSCAN_H
-#include
-#include
-#include
+#include "utils/rel.h"
+#include "storage/block.h"
+#include "storage/off.h"
void rtadjscans(Relation r, int op, BlockNumber blkno, OffsetNumber offnum);
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: rtstrat.h,v 1.10 1999/07/15 15:20:55 momjian Exp $
+ * $Id: rtstrat.h,v 1.11 1999/07/15 23:03:37 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef RTSTRAT_H
#define RTSTRAT_H
-#include
+#include "utils/rel.h"
extern RegProcedure RTMapOperator(Relation r, AttrNumber attnum,
RegProcedure proc);
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: skey.h,v 1.11 1999/02/13 23:20:58 momjian Exp $
+ * $Id: skey.h,v 1.12 1999/07/15 23:03:37 momjian Exp $
*
*
* Note:
#ifndef SKEY_H
#define SKEY_H
-#include
+#include "access/attnum.h"
+#include "fmgr.h"
typedef struct ScanKeyData
{
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: strat.h,v 1.15 1999/05/25 22:42:34 momjian Exp $
+ * $Id: strat.h,v 1.16 1999/07/15 23:03:38 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef STRAT_H
#define STRAT_H
+#include "access/skey.h"
typedef uint16 StrategyNumber;
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: transam.h,v 1.22 1999/06/10 14:17:12 vadim Exp $
+ * $Id: transam.h,v 1.23 1999/07/15 23:03:38 momjian Exp $
*
* NOTES
* Transaction System Version 101 now support proper oid
#ifndef TRANSAM_H
#define TRANSAM_H
-#include
+#include "storage/bufmgr.h"
/* ----------------
* transaction system version id
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: tupdesc.h,v 1.22 1999/05/25 22:42:36 momjian Exp $
+ * $Id: tupdesc.h,v 1.23 1999/07/15 23:03:38 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef TUPDESC_H
#define TUPDESC_H
-#include
-#include
+#include "nodes/pg_list.h"
+#include "access/attnum.h"
+#include "catalog/pg_attribute.h"
typedef struct attrDefault
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: xact.h,v 1.21 1999/07/15 15:20:56 momjian Exp $
+ * $Id: xact.h,v 1.22 1999/07/15 23:03:38 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef XACT_H
#define XACT_H
-#include
+#include "utils/nabstime.h"
+#include "access/transam.h"
/* ----------------
* transaction state structure
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: bootstrap.h,v 1.14 1999/02/13 23:21:00 momjian Exp $
+ * $Id: bootstrap.h,v 1.15 1999/07/15 23:03:40 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef BOOTSTRAP_H
#define BOOTSTRAP_H
-#include
+#include "access/funcindex.h"
+#include "access/itup.h"
+#include "utils/rel.h"
#define MAXATTR 40 /* max. number of attributes in a relation */
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: catalog.h,v 1.7 1999/02/13 23:21:01 momjian Exp $
+ * $Id: catalog.h,v 1.8 1999/07/15 23:03:41 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef CATALOG_H
#define CATALOG_H
+#include "access/tupdesc.h"
extern char *relpath(char *relname);
extern bool IsSystemRelationName(char *relname);
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: heap.h,v 1.19 1999/05/25 16:13:39 momjian Exp $
+ * $Id: heap.h,v 1.20 1999/07/15 23:03:41 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef HEAP_H
#define HEAP_H
-#include
+#include "utils/rel.h"
extern Oid RelnameFindRelid(char *relname);
extern Relation heap_create(char *relname, TupleDesc att,
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: index.h,v 1.17 1999/07/15 15:20:58 momjian Exp $
+ * $Id: index.h,v 1.18 1999/07/15 23:03:42 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef INDEX_H
#define INDEX_H
-#include
+#include "nodes/execnodes.h"
+#include "access/itup.h"
extern Form_pg_am AccessMethodObjectIdGetForm(Oid accessMethodObjectId);
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: indexing.h,v 1.20 1999/07/15 15:20:59 momjian Exp $
+ * $Id: indexing.h,v 1.21 1999/07/15 23:03:42 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef INDEXING_H
#define INDEXING_H
+#include "access/htup.h"
/*
* Some definitions for indices on pg_attribute
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: pg_proc.h,v 1.99 1999/05/25 16:13:47 momjian Exp $
+ * $Id: pg_proc.h,v 1.100 1999/07/15 23:03:43 momjian Exp $
*
* NOTES
* The script catalog/genbki.sh reads this file and generates .bki
#ifndef PG_PROC_H
#define PG_PROC_H
-#include
+#include "tcop/dest.h"
/* ----------------
* postgres.h contains the system type definintions and the
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: command.h,v 1.14 1999/05/25 22:42:41 momjian Exp $
+ * $Id: command.h,v 1.15 1999/07/15 23:03:44 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef COMMAND_H
#define COMMAND_H
-#include
+#include "utils/portal.h"
extern MemoryContext PortalExecutorHeapMemory;
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: defrem.h,v 1.15 1999/02/13 23:21:18 momjian Exp $
+ * $Id: defrem.h,v 1.16 1999/07/15 23:03:44 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef DEFREM_H
#define DEFREM_H
-#include
-#include
+#include "tcop/dest.h"
+#include "nodes/parsenodes.h"
/*
* prototypes in defind.c
#ifndef PROCLANG_H
#define PROCLANG_H
-#include
+#include "nodes/parsenodes.h"
extern void CreateProceduralLanguage(CreatePLangStmt *stmt);
extern void DropProceduralLanguage(DropPLangStmt *stmt);
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: execdebug.h,v 1.10 1999/07/15 15:21:06 momjian Exp $
+ * $Id: execdebug.h,v 1.11 1999/07/15 23:03:46 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef EXECDEBUG_H
#define EXECDEBUG_H
-#include
+#include "nodes/print.h"
/* ----------------------------------------------------------------
* debugging defines.
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: execdesc.h,v 1.10 1999/02/13 23:21:23 momjian Exp $
+ * $Id: execdesc.h,v 1.11 1999/07/15 23:03:47 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef EXECDESC_H
#define EXECDESC_H
-#include
-#include
-#include
+#include "tcop/dest.h"
+#include "nodes/plannodes.h"
+#include "nodes/parsenodes.h"
/* ----------------
* query descriptor:
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: executor.h,v 1.35 1999/07/15 15:21:06 momjian Exp $
+ * $Id: executor.h,v 1.36 1999/07/15 23:03:47 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#define EXECUTOR_H
#include
-#include
+#include "executor/execdesc.h"
/* ----------------
* TupIsNull
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: tuptable.h,v 1.13 1999/07/15 15:21:14 momjian Exp $
+ * $Id: tuptable.h,v 1.14 1999/07/15 23:03:48 momjian Exp $
*
* NOTES
* The tuple table interface is getting pretty ugly.
#ifndef TUPTABLE_H
#define TUPTABLE_H
+#include "access/htup.h"
/* ----------------
* The executor tuple table is managed and manipulated by special
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: hasht.h,v 1.7 1999/02/13 23:21:31 momjian Exp $
+ * $Id: hasht.h,v 1.8 1999/07/15 23:03:49 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef HASHT_H
#define HASHT_H
-#include
+#include "utils/hsearch.h"
typedef void (*HashtFunc) ();
#ifndef PG_CRYPT_H
#define PG_CRYPT_H
-#include
+#include "libpq/libpq-be.h"
#define CRYPT_PWD_FILE "pg_pwd"
#define CRYPT_PWD_FILE_SEPCHAR "'\\t'"
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: pqcomm.h,v 1.36 1999/05/25 22:42:51 momjian Exp $
+ * $Id: pqcomm.h,v 1.37 1999/07/15 23:03:50 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#include
#include
#ifdef WIN32
-#include
+#include "winsock.h"
#else
#include
#include
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: execnodes.h,v 1.31 1999/07/15 15:21:16 momjian Exp $
+ * $Id: execnodes.h,v 1.32 1999/07/15 23:03:52 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef EXECNODES_H
#define EXECNODES_H
-#include
-#include
-#include
-#include
+#include "nodes/primnodes.h"
+#include "executor/hashjoin.h"
+#include "access/relscan.h"
+#include "access/sdir.h"
+#include "nodes/params.h"
+#include "executor/tuptable.h"
+#include "access/funcindex.h"
/* ----------------
* IndexInfo information
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: makefuncs.h,v 1.19 1999/07/15 15:21:16 momjian Exp $
+ * $Id: makefuncs.h,v 1.20 1999/07/15 23:03:52 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef MAKEFUNC_H
#define MAKEFUNC_H
-#include
+#include "nodes/parsenodes.h"
extern Oper *makeOper(Oid opno,
Oid opid,
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: memnodes.h,v 1.13 1999/05/25 22:42:55 momjian Exp $
+ * $Id: memnodes.h,v 1.14 1999/07/15 23:03:53 momjian Exp $
*
* XXX the typedefs in this file are different from the other ???nodes.h;
* they are pointers to structures instead of the structures themselves.
#ifndef MEMNODES_H
#define MEMNODES_H
-#include
-#include
-#include
+#include "lib/fstack.h"
+#include "utils/memutils.h"
+#include "nodes/nodes.h"
/*
* MemoryContext
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: nodeFuncs.h,v 1.9 1999/07/15 15:21:17 momjian Exp $
+ * $Id: nodeFuncs.h,v 1.10 1999/07/15 23:03:53 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef NODEFUNCS_H
#define NODEFUNCS_H
-#include
+#include "nodes/primnodes.h"
extern bool single_node(Node *node);
extern bool var_is_outer(Var *var);
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: params.h,v 1.10 1999/02/13 23:21:38 momjian Exp $
+ * $Id: params.h,v 1.11 1999/07/15 23:03:54 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef PARAMS_H
#define PARAMS_H
+#include "access/attnum.h"
/* ----------------------------------------------------------------
*
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: parsenodes.h,v 1.75 1999/07/13 21:17:38 momjian Exp $
+ * $Id: parsenodes.h,v 1.76 1999/07/15 23:03:54 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef PARSENODES_H
#define PARSENODES_H
-#include
+#include "nodes/primnodes.h"
/*****************************************************************************
* Query Tree
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: pg_list.h,v 1.11 1999/02/22 05:26:47 momjian Exp $
+ * $Id: pg_list.h,v 1.12 1999/07/15 23:03:55 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef PG_LIST_H
#define PG_LIST_H
-#include
+#include "nodes/nodes.h"
/* ----------------------------------------------------------------
* node definitions
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: plannodes.h,v 1.27 1999/05/25 22:42:58 momjian Exp $
+ * $Id: plannodes.h,v 1.28 1999/07/15 23:03:55 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef PLANNODES_H
#define PLANNODES_H
-#include
+#include "nodes/execnodes.h"
/* ----------------------------------------------------------------
* Executor State types are used in the plannode structures
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: primnodes.h,v 1.29 1999/05/25 22:42:59 momjian Exp $
+ * $Id: primnodes.h,v 1.30 1999/07/15 23:03:56 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef PRIMNODES_H
#define PRIMNODES_H
-#include
-#include
+#include "utils/fcache.h"
+#include "access/attnum.h"
+#include "nodes/pg_list.h"
/* ----------------------------------------------------------------
* node definitions
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: relation.h,v 1.33 1999/07/15 15:21:18 momjian Exp $
+ * $Id: relation.h,v 1.34 1999/07/15 23:03:56 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef RELATION_H
#define RELATION_H
-#include
+#include "nodes/parsenodes.h"
/*
* Relids
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: xfunc.h,v 1.1 1999/07/15 15:21:24 momjian Exp $
+ * $Id: xfunc.h,v 1.2 1999/07/15 23:03:59 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef XFUNC_H
#define XFUNC_H
-#include
-#include
+#include "utils/rel.h"
+#include "nodes/relation.h"
/* command line arg flags */
#define XFUNC_OFF -1 /* do no optimization of expensive preds */
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: clauses.h,v 1.20 1999/07/15 15:21:19 momjian Exp $
+ * $Id: clauses.h,v 1.21 1999/07/15 23:03:57 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef CLAUSES_H
#define CLAUSES_H
-#include
+#include "nodes/relation.h"
extern Expr *make_clause(int type, Node *oper, List *args);
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: ordering.h,v 1.14 1999/05/25 16:14:20 momjian Exp $
+ * $Id: ordering.h,v 1.15 1999/07/15 23:03:58 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef ORDERING_H
#define ORDERING_H
-#include
+#include "nodes/relation.h"
extern bool pathorder_match(PathOrder *path_ordering1,
PathOrder *path_ordering2, int *better_sort);
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: plancat.h,v 1.11 1999/02/13 23:21:50 momjian Exp $
+ * $Id: plancat.h,v 1.12 1999/07/15 23:03:58 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef PLANCAT_H
#define PLANCAT_H
-#include
+#include "nodes/parsenodes.h"
/*
* transient data structure to hold return value of index_info. Note that
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: prep.h,v 1.15 1999/06/06 17:38:10 tgl Exp $
+ * $Id: prep.h,v 1.16 1999/07/15 23:03:59 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef PREP_H
#define PREP_H
-#include
-#include
+#include "nodes/plannodes.h"
+#include "nodes/parsenodes.h"
/*
* prototypes for prepqual.c
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: analyze.h,v 1.8 1999/07/13 21:17:40 momjian Exp $
+ * $Id: analyze.h,v 1.9 1999/07/15 23:04:00 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef ANALYZE_H
#define ANALYZE_H
+#include "parser/parse_node.h"
extern List *parse_analyze(List *pl, ParseState *parentParseState);
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: parse_agg.h,v 1.11 1999/07/15 15:21:25 momjian Exp $
+ * $Id: parse_agg.h,v 1.12 1999/07/15 23:04:01 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef PARSE_AGG_H
#define PARSE_AGG_H
+#include "parser/parse_node.h"
extern void AddAggToParseState(ParseState *pstate, Aggref *aggref);
extern void parseCheckAggregates(ParseState *pstate, Query *qry);
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: parse_clause.h,v 1.10 1999/07/15 15:21:25 momjian Exp $
+ * $Id: parse_clause.h,v 1.11 1999/07/15 23:04:01 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef PARSE_CLAUSE_H
#define PARSE_CLAUSE_H
+#include "parser/parse_node.h"
extern void makeRangeTable(ParseState *pstate, char *relname, List *frmList, Node **qual);
extern Node *transformWhereClause(ParseState *pstate, Node *where, Node *using);
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: parse_expr.h,v 1.12 1999/07/15 15:21:26 momjian Exp $
+ * $Id: parse_expr.h,v 1.13 1999/07/15 23:04:02 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef PARSE_EXPR_H
#define PARSE_EXPR_H
+#include "parser/parse_node.h"
#include "parser/parse_type.h"
extern Node *transformExpr(ParseState *pstate, Node *expr, int precedence);
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: parse_func.h,v 1.17 1999/07/15 15:21:26 momjian Exp $
+ * $Id: parse_func.h,v 1.18 1999/07/15 23:04:02 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef PARSER_FUNC_H
#define PARSER_FUNC_H
+#include "parser/parse_node.h"
#define MAXFARGS 8 /* max # args to a c or postquel function */
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: parse_node.h,v 1.13 1999/07/15 15:21:27 momjian Exp $
+ * $Id: parse_node.h,v 1.14 1999/07/15 23:04:02 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef PARSE_NODE_H
#define PARSE_NODE_H
-#include
-#include
+#include "nodes/parsenodes.h"
+#include "utils/rel.h"
/* state information used during parse analysis */
typedef struct ParseState
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: parse_relation.h,v 1.10 1999/07/15 15:21:27 momjian Exp $
+ * $Id: parse_relation.h,v 1.11 1999/07/15 23:04:03 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef PARSE_QUERY_H
#define PARSE_RANGE_H
+#include "parser/parse_node.h"
extern RangeTblEntry *refnameRangeTableEntry(ParseState *pstate, char *refname);
extern int refnameRangeTablePosn(ParseState *pstate,
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: parse_target.h,v 1.13 1999/07/15 15:21:27 momjian Exp $
+ * $Id: parse_target.h,v 1.14 1999/07/15 23:04:03 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef PARSE_TARGET_H
#define PARSE_TARGET_H
+#include "parser/parse_node.h"
#define EXPR_COLUMN_FIRST 1
#define EXPR_RELATION_FIRST 2
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: parser.h,v 1.5 1999/05/13 07:29:20 tgl Exp $
+ * $Id: parser.h,v 1.6 1999/07/15 23:04:03 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef PARSER_H
#define PARSER_H
+#include "parser/parse_node.h"
extern List *parser(char *str, Oid *typev, int nargs);
-#include
+#include "libc.h"
#include
#if defined(__STRICT_ANSI__)
#define isascii(c) ((unsigned)(c)<=0177)
#define HAS_TEST_AND_SET
typedef unsigned char slock_t;
-#include
+#include "sys/isa_defs.h"
#ifndef BIG_ENDIAN
#define BIG_ENDIAN 4321
#ifdef sinix
#define HAS_TEST_AND_SET
+#include "abi_mutex.h"
typedef abilock_t slock_t;
#endif
#define _REGEX_H_
#include
-#include
+#include "mb/pg_wchar.h"
/* types */
typedef off_t regoff_t;
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: prs2lock.h,v 1.9 1999/02/13 23:21:59 momjian Exp $
+ * $Id: prs2lock.h,v 1.10 1999/07/15 23:04:07 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef PRS2LOCK_H
#define PRS2LOCK_H
-#include
+#include "access/attnum.h"
+#include "nodes/pg_list.h"
/*
* RewriteRule -
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: buf_internals.h,v 1.29 1999/05/25 16:14:38 momjian Exp $
+ * $Id: buf_internals.h,v 1.30 1999/07/15 23:04:08 momjian Exp $
*
* NOTE
* If BUFFERPAGE0 is defined, then 0 will be used as a
#ifndef BUFMGR_INTERNALS_H
#define BUFMGR_INTERNALS_H
-#include
-#include
+#include "storage/lmgr.h"
+#include "storage/buf.h"
/* Buf Mgr constants */
/* in bufmgr.c */
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: bufmgr.h,v 1.27 1999/07/15 15:21:31 momjian Exp $
+ * $Id: bufmgr.h,v 1.28 1999/07/15 23:04:09 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#include
-#include
-#include
-#include
-#include
-#include
+#include "storage/ipc.h"
+#include "storage/block.h"
+#include "storage/buf.h"
+#include "storage/buf_internals.h"
+#include "utils/rel.h"
/*
* the maximum size of a disk block for any possible installation.
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: bufpage.h,v 1.24 1999/07/15 15:21:32 momjian Exp $
+ * $Id: bufpage.h,v 1.25 1999/07/15 23:04:09 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef BUFPAGE_H
#define BUFPAGE_H
-#include
-#include
-#include
-#include
-#include
-#include
+#include "storage/off.h"
+#include "storage/itemid.h"
+#include "storage/item.h"
+#include "storage/buf.h"
+#include "storage/page.h"
+#include "storage/bufmgr.h"
/*
* a postgres disk page is an abstraction layered on top of a postgres
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: ipc.h,v 1.34 1999/02/21 01:41:47 tgl Exp $
+ * $Id: ipc.h,v 1.35 1999/07/15 23:04:10 momjian Exp $
*
* NOTES
* This file is very architecture-specific. This stuff should actually
#include
#include /* For IPC_PRIVATE */
-#include
+#include "config.h"
#ifndef HAVE_UNION_SEMUN
union semun
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: itempos.h,v 1.7 1999/02/13 23:22:06 momjian Exp $
+ * $Id: itempos.h,v 1.8 1999/07/15 23:04:10 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef ITEMPOS_H
#define ITEMPOS_H
-#include
-#include
+#include "storage/itemid.h"
+#include "storage/buf.h"
typedef struct ItemSubpositionData
{
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: itemptr.h,v 1.11 1999/05/25 16:14:42 momjian Exp $
+ * $Id: itemptr.h,v 1.12 1999/07/15 23:04:11 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef ITEMPTR_H
#define ITEMPTR_H
-#include
-#include
+#include "storage/off.h"
+#include "storage/block.h"
/*
* ItemPointer:
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: large_object.h,v 1.10 1999/02/13 23:22:06 momjian Exp $
+ * $Id: large_object.h,v 1.11 1999/07/15 23:04:11 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#include
+#include "access/relscan.h"
/*
* This structure will eventually have lots more stuff associated with it.
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: lmgr.h,v 1.21 1999/07/15 15:21:32 momjian Exp $
+ * $Id: lmgr.h,v 1.22 1999/07/15 23:04:11 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef LMGR_H
#define LMGR_H
-#include
-#include
+#include "storage/lock.h"
+#include "utils/rel.h"
#define AccessShareLock 1 /* SELECT */
#define RowShareLock 2 /* SELECT FOR UPDATE */
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: lock.h,v 1.31 1999/07/15 20:32:29 momjian Exp $
+ * $Id: lock.h,v 1.32 1999/07/15 23:04:12 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef LOCK_H_
#define LOCK_H_
-#include
-#include
-#include
-#include
+#include "storage/shmem.h"
+#include "storage/itemptr.h"
+#include "storage/sinvaladt.h"
+#include "utils/array.h"
extern SPINLOCK LockMgrLock;
typedef int LOCKMASK;
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: multilev.h,v 1.15 1999/02/13 23:22:07 momjian Exp $
+ * $Id: multilev.h,v 1.16 1999/07/15 23:04:13 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef MULTILEV_H
#define MULTILEV_H
-#include
+#include "storage/lmgr.h"
#ifdef LowLevelLocking
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: proc.h,v 1.24 1999/05/25 22:43:27 momjian Exp $
+ * $Id: proc.h,v 1.25 1999/07/15 23:04:13 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef _PROC_H_
#define _PROC_H_
-#include
+#include "storage/lock.h"
typedef struct
{
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/include/storage/s_lock.h,v 1.63 1999/07/13 20:12:51 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/include/storage/s_lock.h,v 1.64 1999/07/15 23:04:13 momjian Exp $
*
*-------------------------------------------------------------------------
*/
* assembly from his NECEWS SVR4 port, but we probably ought to retain this
* for the R3000 chips out there.
*/
-#include
+#include "mutex.h"
#define TAS(lock) (test_and_set(lock,1))
#define S_UNLOCK(lock) (test_then_and(lock,0))
#define S_INIT_LOCK(lock) (test_then_and(lock,0))
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: shmem.h,v 1.18 1999/05/25 22:43:27 momjian Exp $
+ * $Id: shmem.h,v 1.19 1999/07/15 23:04:14 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef SHMEM_H
#define SHMEM_H
-#include
-#include
+#include "utils/hsearch.h"
+#include "storage/spin.h"
/* The shared memory region can start at a different address
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: sinval.h,v 1.11 1999/05/28 17:03:31 tgl Exp $
+ * $Id: sinval.h,v 1.12 1999/07/15 23:04:14 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef SINVAL_H
#define SINVAL_H
-#include
-#include
+#include "storage/itemptr.h"
+#include "storage/spin.h"
extern SPINLOCK SInvalLock;
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: sinvaladt.h,v 1.14 1999/05/28 17:03:30 tgl Exp $
+ * $Id: sinvaladt.h,v 1.15 1999/07/15 23:04:15 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef SINVALADT_H
#define SINVALADT_H
-#include
-#include
+#include "storage/itemptr.h"
+#include "storage/ipc.h"
/*
* The structure of the shared cache invaidation segment
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: smgr.h,v 1.14 1999/02/13 23:22:10 momjian Exp $
+ * $Id: smgr.h,v 1.15 1999/07/15 23:04:15 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef SMGR_H
#define SMGR_H
-#include
-#include
-#include
+#include "storage/spin.h"
+#include "storage/block.h"
+#include "utils/rel.h"
#define SM_FAIL 0
#define SM_SUCCESS 1
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: spin.h,v 1.8 1999/02/13 23:22:10 momjian Exp $
+ * $Id: spin.h,v 1.9 1999/07/15 23:04:16 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef SPIN_H
#define SPIN_H
-#include
+#include "storage/ipc.h"
/*
* two implementations of spin locks
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: dest.h,v 1.21 1999/07/15 15:21:36 momjian Exp $
+ * $Id: dest.h,v 1.22 1999/07/15 23:04:17 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef DEST_H
#define DEST_H
+#include "access/htup.h"
/* ----------------
* CommandDest is a simplistic means of identifying the desired
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: pquery.h,v 1.12 1999/02/13 23:22:13 momjian Exp $
+ * $Id: pquery.h,v 1.13 1999/07/15 23:04:17 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef PQUERY_H
#define PQUERY_H
-#include
+#include "executor/execdesc.h"
/* moved to execdesc.h
extern QueryDesc *CreateQueryDesc(Query *parsetree, Plan *plantree,
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: utility.h,v 1.7 1999/02/13 23:22:13 momjian Exp $
+ * $Id: utility.h,v 1.8 1999/07/15 23:04:18 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef UTILITY_H
#define UTILITY_H
-#include
+#include "executor/execdesc.h"
extern void ProcessUtility(Node *parsetree, CommandDest dest);
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: acl.h,v 1.21 1999/07/15 15:21:38 momjian Exp $
+ * $Id: acl.h,v 1.22 1999/07/15 23:04:19 momjian Exp $
*
* NOTES
* For backward-compatability purposes we have to allow there
#ifndef ACL_H
#define ACL_H
-#include
-#include
+#include "nodes/parsenodes.h"
+#include "utils/array.h"
#include "utils/memutils.h"
/*
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: builtins.h,v 1.82 1999/07/15 15:21:39 momjian Exp $
+ * $Id: builtins.h,v 1.83 1999/07/15 23:04:20 momjian Exp $
*
* NOTES
* This should normally only be included by fmgr.h.
#ifndef BUILTINS_H
#define BUILTINS_H
-#include
-#include
-#include
-#include
-#include
-#include
-#include
-#include
+#include "storage/itemptr.h"
+#include "utils/array.h"
+#include "utils/geo_decls.h"
+#include "utils/datetime.h"
+#include "utils/nabstime.h"
+#include "utils/int8.h"
+#include "utils/inet.h"
+#include "utils/numeric.h"
/*
* Defined in adt/
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: catcache.h,v 1.17 1999/07/15 15:21:39 momjian Exp $
+ * $Id: catcache.h,v 1.18 1999/07/15 23:04:20 momjian Exp $
*
*-------------------------------------------------------------------------
*/
/* #define CACHEDEBUG turns DEBUG elogs on */
-#include
+#include "access/htup.h"
+#include "lib/dllist.h"
/*
* struct catctup: tuples in the cache.
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: dynamic_loader.h,v 1.11 1999/07/15 15:21:39 momjian Exp $
+ * $Id: dynamic_loader.h,v 1.12 1999/07/15 23:04:21 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#include /* For MAXPATHLEN */
/* we need this include because port files use them */
+#include "postgres.h"
#ifdef MIN
#undef MIN
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: fcache.h,v 1.8 1999/02/13 23:22:19 momjian Exp $
+ * $Id: fcache.h,v 1.9 1999/07/15 23:04:21 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef FCACHE_H
#define FCACHE_H
-#include
+#include "fmgr.h"
typedef struct
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: fcache2.h,v 1.8 1999/02/13 23:22:20 momjian Exp $
+ * $Id: fcache2.h,v 1.9 1999/07/15 23:04:22 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef FCACHE2_H
#define FCACHE2_H
-#include
+#include "nodes/execnodes.h"
extern void setFcache(Node *node, Oid foid, List *argList, ExprContext *econtext);
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: inval.h,v 1.12 1999/07/15 15:21:39 momjian Exp $
+ * $Id: inval.h,v 1.13 1999/07/15 23:04:22 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef INVAL_H
#define INVAL_H
+#include "access/htup.h"
extern void InitLocalInvalidateData(void);
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: lsyscache.h,v 1.17 1999/07/15 15:21:41 momjian Exp $
+ * $Id: lsyscache.h,v 1.18 1999/07/15 23:04:23 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef LSYSCACHE_H
#define LSYSCACHE_H
+#include "access/htup.h"
extern bool op_class(Oid oprno, int32 opclass, Oid amopid);
extern char *get_attname(Oid relid, AttrNumber attnum);
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: portal.h,v 1.16 1999/07/15 15:21:42 momjian Exp $
+ * $Id: portal.h,v 1.17 1999/07/15 23:04:23 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef PORTAL_H
#define PORTAL_H
-#include
-#include
+#include "executor/execdesc.h"
+#include "nodes/memnodes.h"
typedef struct PortalBlockData
{
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: rel.h,v 1.23 1999/05/25 16:14:57 momjian Exp $
+ * $Id: rel.h,v 1.24 1999/07/15 23:04:23 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef REL_H
#define REL_H
-#include
-#include
-#include
-#include
+#include "catalog/pg_am.h"
+#include "catalog/pg_class.h"
+#include "access/strat.h"
+#include "access/tupdesc.h"
+#include "rewrite/prs2lock.h"
+#include "storage/fd.h"
typedef struct Trigger
{
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: rel2.h,v 1.8 1999/02/13 23:22:30 momjian Exp $
+ * $Id: rel2.h,v 1.9 1999/07/15 23:04:23 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef TMP_REL2_H
#define TMP_REL2_H
-#include
+#include "utils/rel.h"
extern IndexStrategy RelationGetIndexStrategy(Relation relation);
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: relcache.h,v 1.12 1999/05/01 19:09:43 tgl Exp $
+ * $Id: relcache.h,v 1.13 1999/07/15 23:04:23 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef RELCACHE_H
#define RELCACHE_H
-#include
+#include "utils/rel.h"
/*
* relation lookup routines
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: syscache.h,v 1.14 1999/07/15 15:21:43 momjian Exp $
+ * $Id: syscache.h,v 1.15 1999/07/15 23:04:24 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef SYSCACHE_H
#define SYSCACHE_H
+#include "access/htup.h"
/* #define CACHEDEBUG *//* turns DEBUG elogs on */
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: tqual.h,v 1.23 1999/07/15 15:21:43 momjian Exp $
+ * $Id: tqual.h,v 1.24 1999/07/15 23:04:24 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef TQUAL_H
#define TQUAL_H
+#include "access/htup.h"
+#include "access/xact.h"
typedef struct SnapshotData
{