Clean up #include in /include directory. Add scripts for checking includes.
authorBruce Momjian
Thu, 15 Jul 1999 15:21:54 +0000 (15:21 +0000)
committerBruce Momjian
Thu, 15 Jul 1999 15:21:54 +0000 (15:21 +0000)
286 files changed:
doc/src/sgml/release.sgml
src/backend/access/gist/gist.c
src/backend/access/hash/hashscan.c
src/backend/access/hash/hashutil.c
src/backend/access/heap/heapam.c
src/backend/access/heap/stats.c
src/backend/access/index/indexam.c
src/backend/access/nbtree/nbtinsert.c
src/backend/access/nbtree/nbtpage.c
src/backend/access/nbtree/nbtscan.c
src/backend/access/nbtree/nbtsearch.c
src/backend/access/nbtree/nbtsort.c
src/backend/access/nbtree/nbtutils.c
src/backend/access/rtree/rtget.c
src/backend/access/rtree/rtproc.c
src/backend/access/rtree/rtscan.c
src/backend/access/transam/transam.c
src/backend/access/transam/xact.c
src/backend/access/transam/xid.c
src/backend/bootstrap/bootstrap.c
src/backend/catalog/heap.c
src/backend/catalog/index.c
src/backend/catalog/pg_operator.c
src/backend/catalog/pg_proc.c
src/backend/commands/cluster.c
src/backend/commands/command.c
src/backend/commands/define.c
src/backend/commands/rename.c
src/backend/commands/trigger.c
src/backend/commands/vacuum.c
src/backend/executor/_deadcode/nodeTee.c
src/backend/executor/execAmi.c
src/backend/executor/execJunk.c
src/backend/executor/execMain.c
src/backend/executor/execQual.c
src/backend/executor/execTuples.c
src/backend/executor/execUtils.c
src/backend/executor/functions.c
src/backend/executor/nodeAgg.c
src/backend/executor/nodeAppend.c
src/backend/executor/nodeIndexscan.c
src/backend/executor/nodeSort.c
src/backend/lib/stringinfo.c
src/backend/libpq/be-dumpdata.c
src/backend/libpq/be-fsstubs.c
src/backend/libpq/crypt.c
src/backend/nodes/copyfuncs.c
src/backend/nodes/equalfuncs.c
src/backend/nodes/freefuncs.c
src/backend/nodes/list.c
src/backend/nodes/nodes.c
src/backend/nodes/outfuncs.c
src/backend/nodes/read.c
src/backend/nodes/readfuncs.c
src/backend/optimizer/geqo/geqo_copy.c
src/backend/optimizer/geqo/geqo_cx.c
src/backend/optimizer/geqo/geqo_erx.c
src/backend/optimizer/geqo/geqo_eval.c
src/backend/optimizer/geqo/geqo_main.c
src/backend/optimizer/geqo/geqo_misc.c
src/backend/optimizer/geqo/geqo_mutation.c
src/backend/optimizer/geqo/geqo_ox1.c
src/backend/optimizer/geqo/geqo_ox2.c
src/backend/optimizer/geqo/geqo_params.c
src/backend/optimizer/geqo/geqo_pmx.c
src/backend/optimizer/geqo/geqo_pool.c
src/backend/optimizer/geqo/geqo_px.c
src/backend/optimizer/geqo/geqo_recombination.c
src/backend/optimizer/geqo/geqo_selection.c
src/backend/optimizer/geqo/minspantree.c
src/backend/optimizer/path/_deadcode/predmig.c
src/backend/optimizer/path/_deadcode/xfunc.c
src/backend/optimizer/path/allpaths.c
src/backend/optimizer/path/indxpath.c
src/backend/optimizer/path/orindxpath.c
src/backend/optimizer/path/prune.c
src/backend/optimizer/plan/createplan.c
src/backend/optimizer/plan/initsplan.c
src/backend/optimizer/plan/planmain.c
src/backend/optimizer/plan/planner.c
src/backend/optimizer/plan/setrefs.c
src/backend/optimizer/prep/preptlist.c
src/backend/optimizer/prep/prepunion.c
src/backend/optimizer/util/keys.c
src/backend/optimizer/util/pathnode.c
src/backend/optimizer/util/tlist.c
src/backend/parser/analyze.c
src/backend/parser/gram.y
src/backend/parser/keywords.c
src/backend/parser/parse_clause.c
src/backend/parser/parse_oper.c
src/backend/parser/parse_relation.c
src/backend/parser/scansup.c
src/backend/port/dynloader/bsdi.c
src/backend/port/dynloader/linux.c
src/backend/port/dynloader/ultrix4.c
src/backend/port/random.c
src/backend/port/srandom.c
src/backend/postmaster/postmaster.c
src/backend/rewrite/locks.c
src/backend/rewrite/rewriteDefine.c
src/backend/rewrite/rewriteHandler.c
src/backend/rewrite/rewriteManip.c
src/backend/rewrite/rewriteSupport.c
src/backend/storage/buffer/bufmgr.c
src/backend/storage/file/fd.c
src/backend/storage/ipc/shmem.c
src/backend/storage/ipc/sinvaladt.c
src/backend/storage/lmgr/lmgr.c
src/backend/storage/lmgr/lock.c
src/backend/storage/page/bufpage.c
src/backend/storage/smgr/md.c
src/backend/storage/smgr/smgr.c
src/backend/storage/smgr/smgrtype.c
src/backend/tcop/dest.c
src/backend/tcop/fastpath.c
src/backend/tcop/postgres.c
src/backend/tcop/pquery.c
src/backend/tcop/utility.c
src/backend/tioga/tgRecipe.h
src/backend/utils/adt/arrayfuncs.c
src/backend/utils/adt/arrayutils.c
src/backend/utils/adt/bool.c
src/backend/utils/adt/cash.c
src/backend/utils/adt/char.c
src/backend/utils/adt/date.c
src/backend/utils/adt/datetime.c
src/backend/utils/adt/datum.c
src/backend/utils/adt/dt.c
src/backend/utils/adt/filename.c
src/backend/utils/adt/float.c
src/backend/utils/adt/geo_ops.c
src/backend/utils/adt/geo_selfuncs.c
src/backend/utils/adt/int.c
src/backend/utils/adt/int8.c
src/backend/utils/adt/like.c
src/backend/utils/adt/mac.c
src/backend/utils/adt/nabstime.c
src/backend/utils/adt/name.c
src/backend/utils/adt/network.c
src/backend/utils/adt/numeric.c
src/backend/utils/adt/oid.c
src/backend/utils/adt/oracle_compat.c
src/backend/utils/adt/regexp.c
src/backend/utils/adt/regproc.c
src/backend/utils/adt/ruleutils.c
src/backend/utils/adt/selfuncs.c
src/backend/utils/adt/tid.c
src/backend/utils/adt/timestamp.c
src/backend/utils/adt/varchar.c
src/backend/utils/adt/varlena.c
src/backend/utils/adt/version.c
src/backend/utils/cache/catcache.c
src/backend/utils/cache/lsyscache.c
src/backend/utils/cache/relcache.c
src/backend/utils/cache/temprel.c
src/backend/utils/error/excid.c
src/backend/utils/fmgr/dfmgr.c
src/backend/utils/fmgr/fmgr.c
src/backend/utils/hash/dynahash.c
src/backend/utils/init/enbl.c
src/backend/utils/init/globals.c
src/backend/utils/init/miscinit.c
src/backend/utils/init/postinit.c
src/backend/utils/misc/database.c
src/backend/utils/mmgr/mcxt.c
src/backend/utils/mmgr/palloc.c
src/backend/utils/mmgr/portalmem.c
src/backend/utils/time/tqual.c
src/bin/pg_dump/pg_dump.c
src/include/access/gist.h
src/include/access/gistscan.h
src/include/access/giststrat.h
src/include/access/hash.h
src/include/access/heapam.h
src/include/access/hio.h
src/include/access/htup.h
src/include/access/istrat.h
src/include/access/itup.h
src/include/access/nbtree.h
src/include/access/relscan.h
src/include/access/rtree.h
src/include/access/rtstrat.h
src/include/access/tupmacs.h
src/include/access/xact.h
src/include/catalog/index.h
src/include/catalog/indexing.h
src/include/commands/dbcommands.h
src/include/commands/trigger.h
src/include/commands/vacuum.h
src/include/executor/execFlatten.h
src/include/executor/execdebug.h
src/include/executor/executor.h
src/include/executor/functions.h
src/include/executor/hashjoin.h
src/include/executor/nodeAgg.h
src/include/executor/nodeAppend.h
src/include/executor/nodeGroup.h
src/include/executor/nodeHash.h
src/include/executor/nodeHashjoin.h
src/include/executor/nodeIndexscan.h
src/include/executor/nodeMaterial.h
src/include/executor/nodeMergejoin.h
src/include/executor/nodeNestloop.h
src/include/executor/nodeResult.h
src/include/executor/nodeSeqscan.h
src/include/executor/nodeSort.h
src/include/executor/nodeSubplan.h
src/include/executor/nodeUnique.h
src/include/executor/spi.h
src/include/executor/spi_priv.h
src/include/executor/tuptable.h
src/include/libpq/libpq-be.h
src/include/libpq/libpq.h
src/include/libpq/pqformat.h
src/include/nodes/execnodes.h
src/include/nodes/makefuncs.h
src/include/nodes/nodeFuncs.h
src/include/nodes/nodes.h
src/include/nodes/print.h
src/include/nodes/relation.h
src/include/optimizer/_deadcode/xfunc.h [moved from src/include/optimizer/xfunc.h with 93% similarity]
src/include/optimizer/clauses.h
src/include/optimizer/cost.h
src/include/optimizer/geqo.h
src/include/optimizer/geqo_gene.h
src/include/optimizer/geqo_misc.h
src/include/optimizer/geqo_pool.h
src/include/optimizer/internal.h
src/include/optimizer/joininfo.h
src/include/optimizer/keys.h
src/include/optimizer/pathnode.h
src/include/optimizer/paths.h
src/include/optimizer/planmain.h
src/include/optimizer/planner.h
src/include/optimizer/restrictinfo.h
src/include/optimizer/subselect.h
src/include/optimizer/tlist.h
src/include/optimizer/var.h
src/include/parser/parse_agg.h
src/include/parser/parse_clause.h
src/include/parser/parse_coerce.h
src/include/parser/parse_expr.h
src/include/parser/parse_func.h
src/include/parser/parse_node.h
src/include/parser/parse_oper.h
src/include/parser/parse_relation.h
src/include/parser/parse_target.h
src/include/parser/parsetree.h
src/include/postgres.h
src/include/rewrite/locks.h
src/include/rewrite/rewriteHandler.h
src/include/rewrite/rewriteManip.h
src/include/storage/bufmgr.h
src/include/storage/bufpage.h
src/include/storage/lmgr.h
src/include/storage/off.h
src/include/storage/pos.h
src/include/tcop/dest.h
src/include/utils/acl.h
src/include/utils/array.h
src/include/utils/builtins.h
src/include/utils/catcache.h
src/include/utils/dt.h
src/include/utils/dynamic_loader.h
src/include/utils/inval.h
src/include/utils/lselect.h
src/include/utils/lsyscache.h
src/include/utils/memutils.h
src/include/utils/portal.h
src/include/utils/psort.h
src/include/utils/syscache.h
src/include/utils/temprel.h
src/include/utils/tqual.h
src/interfaces/ecpg/preproc/keywords.c
src/interfaces/ecpg/preproc/preproc.y
src/man/create_language.l
src/pl/plpgsql/src/pl_comp.c
src/pl/plpgsql/src/pl_exec.c
src/pl/plpgsql/src/pl_handler.c
src/pl/tcl/pltcl.c
src/tools/pginclude/pgdefine [new file with mode: 0755]
src/tools/pginclude/pginclude [new file with mode: 0755]
src/tools/pginclude/pgnoinclude [new file with mode: 0755]
src/tutorial/complex.c
src/tutorial/funcs.c

index 2289a18260604d2ebac19d58aa545f42e87607c3..10456d97f0e41c88c0a87ecaa28fbec7597dba23 100644 (file)
@@ -39,7 +39,7 @@ Portability fixes for linux_ppc, Irix, linux_alpha, OpenBSD, alpha
 Remove QUERY_LIMIT, use SELECT...LIMIT
 Fix for EXPLAIN on inheritance(Tom)
 Patch to allow vacuum on multi-segment tables(Hiroshi)
-R=Tree optimizer selectivity fix(Tom)
+R-Tree optimizer selectivity fix(Tom)
 ACL file descriptor leak fix(Atsushi Ogawa)
 New expresssion subtree code(Tom)
 Avoid disk writes for read-only transactions(Vadim)
index 06321990a8da7d48b81e36c9ba387f50c9421e9f..bf2499fa05fc94314172576b18b0562cbd633671 100644 (file)
@@ -14,6 +14,7 @@
 #include 
 
 #include 
+#include 
 #include 
 #include 
 #include 
index fb52d42902ad01211ca8e0473e544c48ed857ad0..21321e8efc4bb0a43401cb84d9ffe56d9725e640 100644 (file)
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *   $Header: /cvsroot/pgsql/src/backend/access/hash/hashscan.c,v 1.18 1999/07/14 01:19:36 momjian Exp $
+ *   $Header: /cvsroot/pgsql/src/backend/access/hash/hashscan.c,v 1.19 1999/07/15 15:18:33 momjian Exp $
  *
  * NOTES
  *   Because we can be doing an index scan on a relation while we
@@ -30,7 +30,6 @@
 #include 
 
 #include 
-#include 
 
 static void _hash_scandel(IndexScanDesc scan, BlockNumber blkno, OffsetNumber offno);
 static bool _hash_scantouched(IndexScanDesc scan, BlockNumber blkno, OffsetNumber offno);
index 73f6e350dea06eb8c92b8371d17d8fd1bcfa7ffe..3d420f8d2ffe2e8f4bdacf7d699566ea09e5d9b7 100644 (file)
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *   $Header: /cvsroot/pgsql/src/backend/access/hash/hashutil.c,v 1.16 1999/07/14 01:19:36 momjian Exp $
+ *   $Header: /cvsroot/pgsql/src/backend/access/hash/hashutil.c,v 1.17 1999/07/15 15:18:33 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -18,7 +18,6 @@
 #include 
 #include 
 #include 
-#include 
 
 #ifndef HAVE_MEMMOVE
 #include 
index 75303fd37fe16871c827349053ab72a0c6a67eef..6c5bfa353139d92cb426906909cbc016a9fcd1f7 100644 (file)
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *   $Header: /cvsroot/pgsql/src/backend/access/heap/heapam.c,v 1.47 1999/07/14 01:19:37 momjian Exp $
+ *   $Header: /cvsroot/pgsql/src/backend/access/heap/heapam.c,v 1.48 1999/07/15 15:18:35 momjian Exp $
  *
  *
  * INTERFACE ROUTINES
@@ -89,7 +89,6 @@
 #include 
 #include 
 #include 
-#include 
 
 #ifndef HAVE_MEMMOVE
 #include 
index b17a71cdd9b98977871ee71183784ba9e38c8988..222af071dd400629b62b1ef4ee40c247535eb8cc 100644 (file)
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *   $Header: /cvsroot/pgsql/src/backend/access/heap/Attic/stats.c,v 1.16 1999/07/03 00:32:36 momjian Exp $
+ *   $Header: /cvsroot/pgsql/src/backend/access/heap/Attic/stats.c,v 1.17 1999/07/15 15:18:35 momjian Exp $
  *
  * NOTES
  *   initam should be moved someplace else.
@@ -21,7 +21,6 @@
 #include 
 
 #include 
-#include 
 
 #ifndef HAVE_MEMMOVE
 #include 
index 293a32bfa8046b7a69ef96d3b214d56f1d0ef17a..59ebb29e2e92d1384027356562f3a2ac504e9bb3 100644 (file)
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *   $Header: /cvsroot/pgsql/src/backend/access/index/indexam.c,v 1.31 1999/07/14 01:19:38 momjian Exp $
+ *   $Header: /cvsroot/pgsql/src/backend/access/index/indexam.c,v 1.32 1999/07/15 15:18:37 momjian Exp $
  *
  * INTERFACE ROUTINES
  *     index_open      - open an index relation by relationId
@@ -70,7 +70,6 @@
 #include 
 #include 
 #include 
-#include 
 
 /* ----------------
  *  undefine macros we aren't going to use that would otherwise
index 07a72e131ed5b7036c4e6b2bbacbb4e534897542..d71cf12d4a049535b38e8f406d0bf3439cd7cdf1 100644 (file)
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *   $Header: /cvsroot/pgsql/src/backend/access/nbtree/nbtinsert.c,v 1.43 1999/07/14 01:19:39 momjian Exp $
+ *   $Header: /cvsroot/pgsql/src/backend/access/nbtree/nbtinsert.c,v 1.44 1999/07/15 15:18:38 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -19,8 +19,9 @@
 #include 
 #include 
 #include 
+#include 
+#include 
 #include 
-#include 
 
 #ifndef HAVE_MEMMOVE
 #include 
index 474b1593a802fdc7aabd3faab7e1f8ddd41c046f..436edadcf0a50c1f153795e250cd34edb225e9bd 100644 (file)
@@ -8,7 +8,7 @@
  *
  *
  * IDENTIFICATION
- *   $Header: /cvsroot/pgsql/src/backend/access/nbtree/nbtpage.c,v 1.25 1999/07/14 01:19:41 momjian Exp $
+ *   $Header: /cvsroot/pgsql/src/backend/access/nbtree/nbtpage.c,v 1.26 1999/07/15 15:18:39 momjian Exp $
  *
  * NOTES
  *    Postgres btree pages look like ordinary relation pages.  The opaque
@@ -28,7 +28,7 @@
 #include 
 #include 
 #include 
-#include <utils/mcxt.h>
+#include <storage/bufmgr.h>
 
 #ifndef HAVE_MEMMOVE
 #include 
index 577c2a4eeb25345ef95df07bab999deb2f295feb..eea869776df4111985db1c8d1c678f25aa2ae25f 100644 (file)
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *   $Header: /cvsroot/pgsql/src/backend/access/nbtree/Attic/nbtscan.c,v 1.24 1999/07/14 01:19:41 momjian Exp $
+ *   $Header: /cvsroot/pgsql/src/backend/access/nbtree/Attic/nbtscan.c,v 1.25 1999/07/15 15:18:40 momjian Exp $
  *
  *
  * NOTES
@@ -30,8 +30,8 @@
 #include 
 
 #include 
+#include 
 #include 
-#include 
 
 typedef struct BTScanListData
 {
index 61dde4b9f06f267beae224f8445f9f3428603b81..17ac151acc24ea4ffffcb840d1dc9c2f47c9a2cf 100644 (file)
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *   $Header: /cvsroot/pgsql/src/backend/access/nbtree/nbtsearch.c,v 1.46 1999/07/14 01:19:41 momjian Exp $
+ *   $Header: /cvsroot/pgsql/src/backend/access/nbtree/nbtsearch.c,v 1.47 1999/07/15 15:18:40 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -17,9 +17,9 @@
 #include 
 #include 
 #include 
+#include 
 #include 
 #include 
-#include 
 
 #ifndef HAVE_MEMMOVE
 #include 
index 6927f7e3c6a71d7a37eb2f83ff9c649eb741500e..30aca9e088abd7ad71b347b240ee7d4a2a9b54e0 100644 (file)
@@ -5,7 +5,7 @@
  *
  *
  * IDENTIFICATION
- *   $Id: nbtsort.c,v 1.41 1999/07/14 01:19:42 momjian Exp $
+ *   $Id: nbtsort.c,v 1.42 1999/07/15 15:18:41 momjian Exp $
  *
  * NOTES
  *
@@ -53,8 +53,8 @@
 
 #include "access/nbtree.h"
 #include "storage/bufpage.h"
+#include "storage/bufmgr.h"
 #include "utils/memutils.h"
-#include "utils/mcxt.h"
 
 #ifndef HAVE_MEMMOVE
 #include 
index c682462dddcc309d9cc5111b113e87507ff3ef38..5368c090f94089eeddf28f79e271e770390ff285 100644 (file)
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *   $Header: /cvsroot/pgsql/src/backend/access/nbtree/nbtutils.c,v 1.28 1999/07/14 01:19:43 momjian Exp $
+ *   $Header: /cvsroot/pgsql/src/backend/access/nbtree/nbtutils.c,v 1.29 1999/07/15 15:18:41 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -21,7 +21,6 @@
 #include "executor/execdebug.h"
 #include "fmgr.h"
 #include "storage/bufpage.h"
-#include "utils/mcxt.h"
 
 extern int NIndexTupleProcessed;
 
index 1bfe10d325d4a5bda0f1bb2dba011d780cf316de..7f2c4b9131bac4ef3bf203542b2d930392503913 100644 (file)
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *   $Header: /cvsroot/pgsql/src/backend/access/rtree/Attic/rtget.c,v 1.14 1999/07/14 01:19:44 momjian Exp $
+ *   $Header: /cvsroot/pgsql/src/backend/access/rtree/Attic/rtget.c,v 1.15 1999/07/15 15:18:43 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -20,7 +20,6 @@
 #include 
 #include 
 #include 
-#include 
 
 #ifndef HAVE_MEMMOVE
 #include 
index a685f692d058a4fcc13ceb943ba8ad1214b0af5d..36e971dc679494323f091c3d066e841c3625b1f9 100644 (file)
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *   $Header: /cvsroot/pgsql/src/backend/access/rtree/Attic/rtproc.c,v 1.19 1999/07/14 01:19:44 momjian Exp $
+ *   $Header: /cvsroot/pgsql/src/backend/access/rtree/Attic/rtproc.c,v 1.20 1999/07/15 15:18:44 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -16,7 +16,6 @@
 
 #include 
 #include 
-#include 
 
 #ifndef HAVE_MEMMOVE
 #include 
index 6c3dba00560a6946030a15aa4e357e17512c4b63..1e473ded8b18788a56130747b4c92ac0fd9f5d33 100644 (file)
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *   $Header: /cvsroot/pgsql/src/backend/access/rtree/Attic/rtscan.c,v 1.24 1999/07/14 01:19:45 momjian Exp $
+ *   $Header: /cvsroot/pgsql/src/backend/access/rtree/Attic/rtscan.c,v 1.25 1999/07/15 15:18:44 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -20,7 +20,6 @@
 #include 
 #include 
 #include 
-#include 
 
 #ifndef HAVE_MEMMOVE
 #include 
index 03bb786f4b068eb4f93c083583bf1e8eaad4ce07..5cbf8123e7c3ff69fe8a3d9f6adc6357dac153bd 100644 (file)
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *   $Header: /cvsroot/pgsql/src/backend/access/transam/transam.c,v 1.27 1999/06/10 14:17:06 vadim Exp $
+ *   $Header: /cvsroot/pgsql/src/backend/access/transam/transam.c,v 1.28 1999/07/15 15:18:44 momjian Exp $
  *
  * NOTES
  *   This file contains the high level access-method interface to the
@@ -21,7 +21,6 @@
 #include 
 #include 
 #include 
-#include 
 #include 
 #include 
 #include 
index cd860e0450bc5098a7713cf9e7db1d9c2b9b6fab..add151c30ebb91c3cda201cb5565f8f6e64d0531 100644 (file)
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *   $Header: /cvsroot/pgsql/src/backend/access/transam/xact.c,v 1.42 1999/06/29 04:54:46 vadim Exp $
+ *   $Header: /cvsroot/pgsql/src/backend/access/transam/xact.c,v 1.43 1999/07/15 15:18:45 momjian Exp $
  *
  * NOTES
  *     Transaction aborts can now occur two ways:
 #include 
 #include 
 #include 
-#include 
 #include 
 #include 
 #include 
index 58dfbecd22ac98399e328cfd9efa695215befad5..017c042747ce7a03acb16e20e6ff6e396f4d25b6 100644 (file)
@@ -5,7 +5,7 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: xid.c,v 1.23 1999/07/14 01:19:45 momjian Exp $
+ * $Id: xid.c,v 1.24 1999/07/15 15:18:45 momjian Exp $
  *
  * OLD COMMENTS
  * XXX WARNING
@@ -22,7 +22,6 @@
 
 #include 
 #include 
-#include 
 
 extern TransactionId NullTransactionId;
 extern TransactionId DisabledTransactionId;
index 6c7e7c16fa1e084a1e00c80c897e561fbb39a00b..15c684f75644b0744a626f165c93d174cbdd61b9 100644 (file)
@@ -7,7 +7,7 @@
  * Copyright (c) 1994, Regents of the University of California
  *
  * IDENTIFICATION
- *   $Header: /cvsroot/pgsql/src/backend/bootstrap/bootstrap.c,v 1.60 1999/05/25 16:07:56 momjian Exp $
+ *   $Header: /cvsroot/pgsql/src/backend/bootstrap/bootstrap.c,v 1.61 1999/07/15 15:18:46 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -75,7 +75,6 @@
 #include "utils/geo_decls.h"
 #include "utils/hsearch.h"
 #include "utils/lsyscache.h"
-#include "utils/mcxt.h"
 #include "utils/nabstime.h"
 #include "utils/portal.h"
 #include "utils/rel.h"
index 6e28f04759ca708a37c103e6304717879beb7d18..e6486d336b51b5a9546c9de8597b8f935eda7002 100644 (file)
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *   $Header: /cvsroot/pgsql/src/backend/catalog/heap.c,v 1.89 1999/07/08 02:46:37 momjian Exp $
+ *   $Header: /cvsroot/pgsql/src/backend/catalog/heap.c,v 1.90 1999/07/15 15:18:48 momjian Exp $
  *
  *
  * INTERFACE ROUTINES
@@ -57,7 +57,6 @@
 #include "tcop/tcopprot.h"
 #include "utils/catcache.h"
 #include "utils/builtins.h"
-#include "utils/mcxt.h"
 #include "utils/relcache.h"
 #include "utils/syscache.h"
 #include "utils/tqual.h"
index 31747b23956ef3f61e0d407b45e9f0115d567b06..68abfc7b883d80c322424fc5c8a98d6ee41e5248 100644 (file)
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *   $Header: /cvsroot/pgsql/src/backend/catalog/index.c,v 1.81 1999/07/07 09:27:25 momjian Exp $
+ *   $Header: /cvsroot/pgsql/src/backend/catalog/index.c,v 1.82 1999/07/15 15:18:49 momjian Exp $
  *
  *
  * INTERFACE ROUTINES
@@ -30,6 +30,7 @@
 #include "catalog/heap.h"
 #include "catalog/index.h"
 #include "catalog/indexing.h"
+#include "catalog/pg_index.h"
 #include "catalog/pg_proc.h"
 #include "catalog/pg_type.h"
 #include "executor/executor.h"
@@ -40,9 +41,9 @@
 #include "parser/parse_func.h"
 #include "storage/lmgr.h"
 #include "storage/smgr.h"
+#include "storage/bufpage.h"
 #include "utils/builtins.h"
 #include "utils/catcache.h"
-#include "utils/mcxt.h"
 #include "utils/relcache.h"
 #include "utils/syscache.h"
 #include "utils/tqual.h"
index 58c87302d0a3e952e9b646437cbd7f11a6c94e2b..a8ce33d7bc0edd108a41c6cb73dc07844370ec07 100644 (file)
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *   $Header: /cvsroot/pgsql/src/backend/catalog/pg_operator.c,v 1.37 1999/05/25 16:08:09 momjian Exp $
+ *   $Header: /cvsroot/pgsql/src/backend/catalog/pg_operator.c,v 1.38 1999/07/15 15:18:50 momjian Exp $
  *
  * NOTES
  *   these routines moved here from commands/define.c and somewhat cleaned up.
 #include "access/heapam.h"
 #include "catalog/catname.h"
 #include "catalog/pg_operator.h"
+#include "parser/parse_type.h"
 #include "catalog/pg_proc.h"
 #include "catalog/pg_type.h"
+#include "parser/parse_func.h"
 #include "fmgr.h"
 #include "miscadmin.h"
 #include "parser/parse_oper.h"
index 3d31741cfe049449b4b594079180bf0ebcb2f321..9c79eec956142c9070a4ecd3f5595d3fc64595c4 100644 (file)
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *   $Header: /cvsroot/pgsql/src/backend/catalog/pg_proc.c,v 1.29 1999/05/25 16:08:11 momjian Exp $
+ *   $Header: /cvsroot/pgsql/src/backend/catalog/pg_proc.c,v 1.30 1999/07/15 15:18:50 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -30,6 +30,7 @@
 #include "utils/lsyscache.h"
 #include "utils/sets.h"
 #include "utils/syscache.h"
+#include "parser/parse_type.h"
 
 #ifndef HAVE_MEMMOVE
 #include 
index 29fb0d9a490c40149c9fd6f4bc872d9c5611da3a..7eab1d213a182677aa8eb7d5a0c0307db09d14f4 100644 (file)
@@ -14,7 +14,7 @@
  *
  *
  * IDENTIFICATION
- *   $Header: /cvsroot/pgsql/src/backend/commands/cluster.c,v 1.39 1999/05/25 16:08:16 momjian Exp $
+ *   $Header: /cvsroot/pgsql/src/backend/commands/cluster.c,v 1.40 1999/07/15 15:18:52 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -41,7 +41,6 @@
 #include 
 #include 
 #include 
-#include 
 #include 
 #include 
 #include 
index ebd4fd0c295d68cd498c3e111f34f7e15995c368..0ff886ded54aee9451423598905893668e99b418 100644 (file)
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *   $Header: /cvsroot/pgsql/src/backend/commands/Attic/command.c,v 1.47 1999/06/19 04:54:12 momjian Exp $
+ *   $Header: /cvsroot/pgsql/src/backend/commands/Attic/command.c,v 1.48 1999/07/15 15:18:52 momjian Exp $
  *
  * NOTES
  *   The PortalExecutorHeapMemory crap needs to be eliminated
@@ -36,7 +36,6 @@
 #include "utils/acl.h"
 #include "utils/array.h"
 #include "utils/builtins.h"
-#include "utils/mcxt.h"
 #include "utils/portal.h"
 #include "utils/relcache.h"
 #include "utils/temprel.h"
index 34d322524c7da2f747020aa42b1ef7402f5c25cb..6760ca9f2ddf20f8ebc433d4768711c6d8c6d171 100644 (file)
@@ -9,7 +9,7 @@
  *
  *
  * IDENTIFICATION
- *   $Header: /cvsroot/pgsql/src/backend/commands/define.c,v 1.29 1999/05/25 16:08:22 momjian Exp $
+ *   $Header: /cvsroot/pgsql/src/backend/commands/define.c,v 1.30 1999/07/15 15:18:53 momjian Exp $
  *
  * DESCRIPTION
  *   The "DefineFoo" routines take the parse tree and pick out the
@@ -50,9 +50,9 @@
 #include               /* for fmgr */
 #include         /* prototype for textin() */
 #include 
-#include 
 #include 
 #include 
+#include 
 
 static char *defGetString(DefElem *def);
 static int defGetTypeLength(DefElem *def);
index 061534054a9491524311bd2c01749d4307cdc78b..f88d29b7a064d093982ea15524550dd81b683179 100644 (file)
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *   $Header: /cvsroot/pgsql/src/backend/commands/Attic/rename.c,v 1.25 1999/05/25 16:08:26 momjian Exp $
+ *   $Header: /cvsroot/pgsql/src/backend/commands/Attic/rename.c,v 1.26 1999/07/15 15:18:54 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -30,7 +30,6 @@
 #include 
 #include 
 #include 
-#include 
 #include 
 #include 
 #include 
index cc3d27599c19a9de4dddb9a9444a43915075e71e..a710888d7f0e4a4d912767a06f1bcd3cc9eb6a9f 100644 (file)
@@ -23,8 +23,8 @@
 #include "nodes/memnodes.h"
 #include "nodes/parsenodes.h"
 #include "storage/lmgr.h"
+#include "storage/bufpage.h"
 #include "storage/bufmgr.h"
-#include "utils/mcxt.h"
 #include "utils/inval.h"
 #include "utils/builtins.h"
 #include "utils/syscache.h"
index b5fa699981b02e2dc01af0b3a38df3a0f8593c41..e475fba1e2cb7be9fc44b5ea7455abccf3394113 100644 (file)
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *   $Header: /cvsroot/pgsql/src/backend/commands/vacuum.c,v 1.110 1999/07/03 00:32:40 momjian Exp $
+ *   $Header: /cvsroot/pgsql/src/backend/commands/vacuum.c,v 1.111 1999/07/15 15:18:55 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -44,7 +44,6 @@
 #include "storage/lmgr.h"
 #include "utils/builtins.h"
 #include "utils/inval.h"
-#include "utils/mcxt.h"
 #include "utils/portal.h"
 #include "utils/relcache.h"
 #include "utils/syscache.h"
index 38b830ea6a1539b13763091d165e33fcca466879..dfe9fae77568f66dfec083cbe006ef011abfc313 100644 (file)
@@ -14,7 +14,7 @@
  *     ExecInitTee
  *     ExecEndTee
  *
- * $Id: nodeTee.c,v 1.3 1999/05/25 22:41:04 momjian Exp $
+ * $Id: nodeTee.c,v 1.4 1999/07/15 15:19:02 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -23,9 +23,7 @@
 #include 
 #include "postgres.h"
 
-#include "utils/palloc.h"
 #include "utils/relcache.h"
-#include "utils/mcxt.h"
 #include "storage/bufmgr.h"
 #include "storage/smgr.h"
 #include "optimizer/internal.h"
index 8e5f012fd8c49f03eaae5478e7b6327bf5774825..2facc9096bf79cb859c5c1a9cfc4e94a7f97183b 100644 (file)
@@ -5,7 +5,7 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: execAmi.c,v 1.36 1999/07/13 21:17:31 momjian Exp $
+ * $Id: execAmi.c,v 1.37 1999/07/15 15:18:56 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -30,7 +30,6 @@
 
 #include "executor/executor.h"
 #include "storage/smgr.h"
-#include "utils/mcxt.h"
 #include "executor/nodeSeqscan.h"
 #include "executor/nodeIndexscan.h"
 #include "executor/nodeSort.h"
index ba3741db025dd373f0f6c30854702f56cbbf6529..bef6874861964d075f62993c3cd4ff4d1eac9064 100644 (file)
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *   $Header: /cvsroot/pgsql/src/backend/executor/execJunk.c,v 1.17 1999/05/17 17:03:10 momjian Exp $
+ *   $Header: /cvsroot/pgsql/src/backend/executor/execJunk.c,v 1.18 1999/07/15 15:18:57 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -16,7 +16,6 @@
 
 #include "postgres.h"
 
-#include "utils/palloc.h"
 #include "access/heapam.h"
 #include "executor/executor.h"
 #include "nodes/relation.h"
index a3026fd30a3ff8a13c69e6358bc26a409885dc47..d6cd6b1f8453c440012c3235560f3b40a4f0a4d8 100644 (file)
@@ -26,7 +26,7 @@
  *
  *
  * IDENTIFICATION
- *   $Header: /cvsroot/pgsql/src/backend/executor/execMain.c,v 1.88 1999/06/17 15:15:49 momjian Exp $
+ *   $Header: /cvsroot/pgsql/src/backend/executor/execMain.c,v 1.89 1999/07/15 15:18:57 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -39,7 +39,6 @@
 #include "executor/execdebug.h"
 #include "executor/nodeIndexscan.h"
 #include "utils/builtins.h"
-#include "utils/palloc.h"
 #include "utils/acl.h"
 #include "utils/syscache.h"
 #include "utils/tqual.h"
@@ -54,6 +53,7 @@
 #include "access/xact.h"
 #include "catalog/heap.h"
 #include "commands/trigger.h"
+#include "access/transam.h"
 
 void ExecCheckPerms(CmdType operation, int resultRelation, List *rangeTable,
               Query *parseTree);
index 58acc885ba2d8f91f3a44645c8176f54a9dbcd2b..b6af1fe6837887a560b7dd206087206c29319b07 100644 (file)
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *   $Header: /cvsroot/pgsql/src/backend/executor/execQual.c,v 1.53 1999/06/12 19:22:40 tgl Exp $
+ *   $Header: /cvsroot/pgsql/src/backend/executor/execQual.c,v 1.54 1999/07/15 15:18:57 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -49,7 +49,6 @@
 #include "utils/builtins.h"
 #include "utils/fcache.h"
 #include "utils/fcache2.h"
-#include "utils/mcxt.h"
 #include "utils/memutils.h"
 
 
index 1ffe928b57bb6a0861e3bddf7454ed7602c5a674..a41c4ff45648f92f176dc2c0bb0ef28a43fe6082 100644 (file)
@@ -14,7 +14,7 @@
  *
  *
  * IDENTIFICATION
- *   $Header: /cvsroot/pgsql/src/backend/executor/execTuples.c,v 1.25 1999/05/25 16:08:39 momjian Exp $
+ *   $Header: /cvsroot/pgsql/src/backend/executor/execTuples.c,v 1.26 1999/07/15 15:18:58 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
 #include "catalog/pg_type.h"
 #include "parser/parse_type.h"
 #include "storage/bufmgr.h"
-#include "utils/palloc.h"
 #include "utils/lsyscache.h"
 
 static TupleTableSlot *NodeGetResultTupleSlot(Plan *node);
index 2bd3d03bc675921f9100b2681df2e3a7b453e14f..0b7c220acc66b2ac13f89d95b55606c1a9877046 100644 (file)
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *   $Header: /cvsroot/pgsql/src/backend/executor/execUtils.c,v 1.45 1999/05/25 16:08:39 momjian Exp $
+ *   $Header: /cvsroot/pgsql/src/backend/executor/execUtils.c,v 1.46 1999/07/15 15:18:58 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -55,7 +55,7 @@
 #include "optimizer/clauses.h"
 #include "parser/parsetree.h"
 #include "utils/lsyscache.h"
-#include "utils/mcxt.h"
+#include "catalog/pg_index.h"
 
 static void ExecGetIndexKeyInfo(Form_pg_index indexTuple, int *numAttsOutP,
                    AttrNumber **attsOutP, FuncIndexInfoPtr fInfoP);
index c32c14a59637df40cbf14d0e1bcf8777c73fc535..00fc00182d6e8df1aa03cbeec7f69246ad280034 100644 (file)
@@ -8,7 +8,7 @@
  *
  *
  * IDENTIFICATION
- *   $Header: /cvsroot/pgsql/src/backend/executor/functions.c,v 1.26 1999/05/25 16:08:39 momjian Exp $
+ *   $Header: /cvsroot/pgsql/src/backend/executor/functions.c,v 1.27 1999/07/15 15:18:59 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -28,8 +28,6 @@
 #include "fmgr.h"
 #include "utils/fcache.h"
 #include "utils/datum.h"
-#include "utils/elog.h"
-#include "utils/palloc.h"
 #include "utils/syscache.h"
 #include "catalog/pg_language.h"
 #include "access/heapam.h"
index a47a9ad5492dee479037a80c3b5254a21c2307c2..44a14391b45dca815dba534003836f3cdcf7c051 100644 (file)
@@ -27,7 +27,6 @@
 #include "executor/executor.h"
 #include "executor/nodeAgg.h"
 #include "storage/bufmgr.h"
-#include "utils/palloc.h"
 #include "utils/syscache.h"
 #include "optimizer/clauses.h"
 
index c46b467caaabdaa42442ebbc592cde46afa3aed4..745269e07171418d132de5a72e7339a5e239e30a 100644 (file)
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *   $Header: /cvsroot/pgsql/src/backend/executor/nodeAppend.c,v 1.19 1999/05/25 16:08:40 momjian Exp $
+ *   $Header: /cvsroot/pgsql/src/backend/executor/nodeAppend.c,v 1.20 1999/07/15 15:19:01 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -61,8 +61,6 @@
 #include "executor/execdebug.h"
 #include "executor/nodeAppend.h"
 #include "executor/nodeIndexscan.h"
-#include "utils/palloc.h"
-#include "utils/mcxt.h"
 #include "parser/parsetree.h"  /* for rt_store() macro */
 
 static bool exec_append_initialize_next(Append *node);
index 461bc1b8a5ecb5cb5a72d637a38cd867abd16ad4..57f2bb9d4d959d6023d4d2ba420348db8fedcff9 100644 (file)
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *   $Header: /cvsroot/pgsql/src/backend/executor/nodeIndexscan.c,v 1.36 1999/05/25 16:08:43 momjian Exp $
+ *   $Header: /cvsroot/pgsql/src/backend/executor/nodeIndexscan.c,v 1.37 1999/07/15 15:19:01 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -40,8 +40,6 @@
 #include "access/skey.h"
 #include "access/heapam.h"
 #include "access/genam.h"
-#include "utils/palloc.h"
-#include "utils/mcxt.h"
 #include "catalog/index.h"
 #include "storage/bufmgr.h"
 #include "storage/lmgr.h"
index 1ca99c1bef70adaa78f41738861db0597230902b..3f118e90cf97cef6cd6a8485eb1c3aca234efd49 100644 (file)
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *   $Header: /cvsroot/pgsql/src/backend/executor/nodeSort.c,v 1.19 1999/06/03 03:17:37 tgl Exp $
+ *   $Header: /cvsroot/pgsql/src/backend/executor/nodeSort.c,v 1.20 1999/07/15 15:19:01 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -18,7 +18,6 @@
 #include "executor/execdebug.h"
 #include "executor/nodeSort.h"
 #include "access/heapam.h"
-#include "utils/palloc.h"
 #include "utils/psort.h"
 #include "catalog/catalog.h"
 #include "catalog/heap.h"
index 995dd5237a9632a643d3005f7b63131a9362a1b2..fec4f25ecb0d892372cd837209fc5a820a9c79e4 100644 (file)
@@ -8,7 +8,7 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- *   $Id: stringinfo.c,v 1.18 1999/07/14 01:19:46 momjian Exp $
+ *   $Id: stringinfo.c,v 1.19 1999/07/15 15:19:02 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -18,7 +18,6 @@
 
 #include "postgres.h"
 #include "lib/stringinfo.h"
-#include "utils/mcxt.h"
 
 #ifdef NOT_USED
 /*
index 2a0a6a04a00cf34cc39d4d0ff115cbd649807d6e..9b232e705da740410982df25ea6ad9f4d13c694a 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: be-dumpdata.c,v 1.25 1999/05/25 22:41:06 momjian Exp $
+ * $Id: be-dumpdata.c,v 1.26 1999/07/15 15:19:03 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -38,7 +38,6 @@
 #include 
 #include 
 #include 
-#include 
 #include 
 #include 
 #include 
index 443c2db76dcb38ea4f14c5a1e10b8c7ca7d9882a..871a7923a3e2da3c00147742d4957e71aae0fc32 100644 (file)
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *   $Header: /cvsroot/pgsql/src/backend/libpq/be-fsstubs.c,v 1.35 1999/06/04 21:13:38 tgl Exp $
+ *   $Header: /cvsroot/pgsql/src/backend/libpq/be-fsstubs.c,v 1.36 1999/07/15 15:19:04 momjian Exp $
  *
  * NOTES
  *   This should be moved to a more appropriate place.  It is here
@@ -43,7 +43,6 @@
 #include 
 #include 
 #include 
-#include 
 #include  /* for superuser() */
 #include             /* for O_ */
 #include 
index 2fad684400544b9d95de109954f7266c8004cafa..86f5ef2a997d3fa43d6eada7d4cff5172431f1c2 100644 (file)
@@ -9,7 +9,7 @@
  * Dec 17, 1997 - Todd A. Brandys
  * Orignal Version Completed.
  *
- * $Id: crypt.c,v 1.19 1999/07/14 01:19:47 momjian Exp $
+ * $Id: crypt.c,v 1.20 1999/07/15 15:19:05 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -24,7 +24,6 @@
 #include "utils/nabstime.h"
 #include "storage/fd.h"
 #include "libpq/crypt.h"
-#include "utils/mcxt.h"
 
 #ifdef HAVE_CRYPT_H
 #include 
index ab9b21392f80a70c075908b3d7ce0faab4db0da0..0f0ad4df29adc321c6249bdb87a03067c8a7ca62 100644 (file)
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *   $Header: /cvsroot/pgsql/src/backend/nodes/copyfuncs.c,v 1.82 1999/05/25 22:41:11 momjian Exp $
+ *   $Header: /cvsroot/pgsql/src/backend/nodes/copyfuncs.c,v 1.83 1999/07/15 15:19:06 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -25,8 +25,6 @@
 
 #include "utils/syscache.h"
 #include "utils/builtins.h"        /* for namecpy */
-#include "utils/elog.h"
-#include "utils/palloc.h"
 #include "catalog/pg_type.h"
 #include "storage/lmgr.h"
 #include "optimizer/planmain.h"
index 6a680190b201c9b56a09a547bce456b94a8ca7a1..606285793784207c000788b779daff611f9ae025 100644 (file)
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *   $Header: /cvsroot/pgsql/src/backend/nodes/equalfuncs.c,v 1.39 1999/06/06 17:46:40 tgl Exp $
+ *   $Header: /cvsroot/pgsql/src/backend/nodes/equalfuncs.c,v 1.40 1999/07/15 15:19:06 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -23,7 +23,6 @@
 
 #include "utils/builtins.h"        /* for namestrcmp() */
 #include "utils/datum.h"
-#include "utils/elog.h"
 #include "storage/itemptr.h"
 
 static bool equali(List *a, List *b);
index 0fa1906c96b0f5eb77ce9b25cdf466265aa3f676..4711d9b6fe4c8ce104e70d46b95283a53fc1dfcf 100644 (file)
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *   $Header: /cvsroot/pgsql/src/backend/nodes/Attic/freefuncs.c,v 1.19 1999/05/26 12:55:20 momjian Exp $
+ *   $Header: /cvsroot/pgsql/src/backend/nodes/Attic/freefuncs.c,v 1.20 1999/07/15 15:19:07 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -25,8 +25,6 @@
 
 #include "utils/syscache.h"
 #include "utils/builtins.h"        /* for namecpy */
-#include "utils/elog.h"
-#include "utils/palloc.h"
 #include "catalog/pg_type.h"
 #include "storage/lmgr.h"
 #include "optimizer/planmain.h"
index 256e0419665aa14cbdfb06d895d009635b0b2fad..e58149d111ed5eb81cb7a3d6a801339e66466fd2 100644 (file)
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *   $Header: /cvsroot/pgsql/src/backend/nodes/list.c,v 1.22 1999/07/14 01:19:49 momjian Exp $
+ *   $Header: /cvsroot/pgsql/src/backend/nodes/list.c,v 1.23 1999/07/15 15:19:07 momjian Exp $
  *
  * NOTES
  *   XXX a few of the following functions are duplicated to handle
@@ -26,9 +26,6 @@
 #include "nodes/pg_list.h"
 #include "nodes/parsenodes.h"
 #include "utils/builtins.h"        /* for namecpy */
-#include "utils/elog.h"
-#include "utils/palloc.h"
-#include "utils/mcxt.h"
 
 /*
  * makeList
index 38220edd5d3051314c148e8d3aeed09f523beced..c8c335df125f4c71f5a2a49130da734083131aed 100644 (file)
@@ -8,7 +8,7 @@
  *
  *
  * IDENTIFICATION
- *   $Header: /cvsroot/pgsql/src/backend/nodes/nodes.c,v 1.8 1999/07/14 01:19:50 momjian Exp $
+ *   $Header: /cvsroot/pgsql/src/backend/nodes/nodes.c,v 1.9 1999/07/15 15:19:08 momjian Exp $
  *
  * HISTORY
  *   Andrew Yu         Oct 20, 1994    file creation
  */
 #include 
 #include "postgres.h"
-#include "utils/palloc.h"
-#include "utils/elog.h"
 #include "nodes/nodes.h"
-#include "utils/mcxt.h"
 
 /*
  * newNode -
index 1fdc83ecce7339653b89bd76b2dcb4c3c38e5b69..f73811431e7c980301839f73899c26baa425cd16 100644 (file)
@@ -5,7 +5,7 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: outfuncs.c,v 1.86 1999/05/25 22:41:14 momjian Exp $
+ * $Id: outfuncs.c,v 1.87 1999/07/15 15:19:08 momjian Exp $
  *
  * NOTES
  *   Every (plan) node in POSTGRES has an associated "out" routine which
@@ -27,9 +27,7 @@
 #include "utils/syscache.h"
 #include "utils/lsyscache.h"
 #include "fmgr.h"
-#include "utils/elog.h"
 #include "utils/datum.h"
-#include "utils/palloc.h"
 
 #include "nodes/nodes.h"
 #include "nodes/execnodes.h"
index 3c2f1a3bd9aa14407b1713b256fbad44781e4614..6da19489d0ecdfc8c05e8563c544e9be64f3867c 100644 (file)
@@ -8,7 +8,7 @@
  *
  *
  * IDENTIFICATION
- *   $Header: /cvsroot/pgsql/src/backend/nodes/read.c,v 1.15 1999/05/19 16:46:11 momjian Exp $
+ *   $Header: /cvsroot/pgsql/src/backend/nodes/read.c,v 1.16 1999/07/15 15:19:08 momjian Exp $
  *
  * HISTORY
  *   AUTHOR            DATE            MAJOR EVENT
@@ -22,7 +22,6 @@
 #include "postgres.h"
 #include "nodes/pg_list.h"
 #include "nodes/readfuncs.h"
-#include "utils/elog.h"
 
 /*
  * stringToNode -
index 09d2d1cdbf21e26e56dd23aa1bf8601e385fa223..de226c011812cb7be354df113d1427b9a87ae729 100644 (file)
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *   $Header: /cvsroot/pgsql/src/backend/nodes/readfuncs.c,v 1.65 1999/07/13 21:17:31 momjian Exp $
+ *   $Header: /cvsroot/pgsql/src/backend/nodes/readfuncs.c,v 1.66 1999/07/15 15:19:08 momjian Exp $
  *
  * NOTES
  *   Most of the read functions for plan nodes are tested. (In fact, they
@@ -32,8 +32,6 @@
 #include "access/htup.h"
 #include "fmgr.h"
 #include "utils/builtins.h"
-#include "utils/elog.h"
-#include "utils/palloc.h"
 
 #include "utils/lsyscache.h"
 #include "utils/syscache.h"
index 8c9240b717aeaec52949614f2a32d071f1ac5583..721671e702c9747bc983cedc040bc47be61ea64a 100644 (file)
@@ -4,7 +4,7 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: geqo_copy.c,v 1.5 1999/02/13 23:16:04 momjian Exp $
+ * $Id: geqo_copy.c,v 1.6 1999/07/15 15:19:09 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
 #include "nodes/pg_list.h"
 #include "nodes/relation.h"
 #include "nodes/primnodes.h"
-
-#include "utils/palloc.h"
-#include "utils/elog.h"
-
 #include "optimizer/internal.h"
 #include "optimizer/paths.h"
 #include "optimizer/pathnode.h"
index 92fca945e891036c3fe9f278cbace8c07087556f..cf0c1027ed79da7c045d33d18ed9b1ce039cfa5b 100644 (file)
@@ -6,7 +6,7 @@
 *   CX operator according to Oliver et al
 *   (Proc 2nd Int'l Conf on GA's)
 *
-* $Id: geqo_cx.c,v 1.6 1999/02/13 23:16:05 momjian Exp $
+* $Id: geqo_cx.c,v 1.7 1999/07/15 15:19:10 momjian Exp $
 *
 *-------------------------------------------------------------------------
 */
@@ -40,8 +40,6 @@
 #include "nodes/relation.h"
 #include "nodes/primnodes.h"
 
-#include "utils/palloc.h"
-#include "utils/elog.h"
 
 #include "optimizer/internal.h"
 #include "optimizer/paths.h"
index a5ab77202b1cf811d5c44f8caf69e82f6690e51a..c58556f739d84149639c7a3133ca95c36e137513 100644 (file)
@@ -3,7 +3,7 @@
 * geqo_erx.c
 *   edge recombination crossover [ER]
 *
-* $Id: geqo_erx.c,v 1.12 1999/07/14 01:19:51 momjian Exp $
+* $Id: geqo_erx.c,v 1.13 1999/07/15 15:19:11 momjian Exp $
 *
 *-------------------------------------------------------------------------
 */
@@ -37,8 +37,6 @@
 #include "nodes/relation.h"
 #include "nodes/primnodes.h"
 
-#include "utils/palloc.h"
-#include "utils/elog.h"
 
 #include "optimizer/internal.h"
 #include "optimizer/paths.h"
@@ -51,7 +49,6 @@
 #include "optimizer/geqo_recombination.h"
 #include "optimizer/geqo_random.h"
 
-#include "utils/mcxt.h"
 
 static int gimme_edge(Gene gene1, Gene gene2, Edge *edge_table);
 static void remove_gene(Gene gene, Edge edge, Edge *edge_table);
index e572c656870b46961f2a069ccf770374540f5208..a3652e2d0b51b6e32b02d71f06eac2225118130e 100644 (file)
@@ -5,7 +5,7 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: geqo_eval.c,v 1.39 1999/05/25 22:41:19 momjian Exp $
+ * $Id: geqo_eval.c,v 1.40 1999/07/15 15:19:11 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -34,8 +34,6 @@
 #include "nodes/relation.h"
 #include "nodes/primnodes.h"
 
-#include "utils/palloc.h"
-#include "utils/elog.h"
 #include "utils/portal.h"
 
 #include "optimizer/internal.h"
index 88bcce1ed7d359317e5b214f1603f3d28642b71b..2b821b168da61972adc8d4e56bd687ff08896458 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: geqo_main.c,v 1.16 1999/05/25 16:09:16 momjian Exp $
+ * $Id: geqo_main.c,v 1.17 1999/07/15 15:19:11 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -28,8 +28,6 @@
 #include "nodes/plannodes.h"
 #include "nodes/primnodes.h"
 
-#include "utils/palloc.h"
-#include "utils/elog.h"
 
 #include "optimizer/internal.h"
 #include "optimizer/paths.h"
index 206ec2567d2f11735d53f9618a65c4831281f679..5c4079b12dee6075cccaf63b6fe785dc8bc9eef0 100644 (file)
@@ -5,7 +5,7 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: geqo_misc.c,v 1.19 1999/05/25 22:41:20 momjian Exp $
+ * $Id: geqo_misc.c,v 1.20 1999/07/15 15:19:11 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -27,8 +27,6 @@
 #include "nodes/relation.h"
 #include "nodes/primnodes.h"
 
-#include "utils/palloc.h"
-#include "utils/elog.h"
 
 #include "optimizer/internal.h"
 #include "optimizer/paths.h"
index a68b416bd43ea54eafdb57510e533b513db45595..bb007a259d405e6ae024b1691227a8dda795a140 100644 (file)
@@ -4,7 +4,7 @@
 *
 *   TSP mutation routines
 *
-* $Id: geqo_mutation.c,v 1.5 1999/02/13 23:16:09 momjian Exp $
+* $Id: geqo_mutation.c,v 1.6 1999/07/15 15:19:11 momjian Exp $
 *
 *-------------------------------------------------------------------------
 */
@@ -37,8 +37,6 @@
 #include "nodes/relation.h"
 #include "nodes/primnodes.h"
 
-#include "utils/palloc.h"
-#include "utils/elog.h"
 
 #include "optimizer/internal.h"
 #include "optimizer/paths.h"
index 12b9b0d9b361991fd445ad4b7c77e2ecbac46dbe..955379c270d1854d4be774dc7c3b512a919f2068 100644 (file)
@@ -6,7 +6,7 @@
 *   OX1 operator according to Davis
 *   (Proc Int'l Joint Conf on AI)
 *
-* $Id: geqo_ox1.c,v 1.5 1999/02/13 23:16:10 momjian Exp $
+* $Id: geqo_ox1.c,v 1.6 1999/07/15 15:19:12 momjian Exp $
 *
 *-------------------------------------------------------------------------
 */
@@ -39,8 +39,6 @@
 #include "nodes/relation.h"
 #include "nodes/primnodes.h"
 
-#include "utils/palloc.h"
-#include "utils/elog.h"
 
 #include "optimizer/internal.h"
 #include "optimizer/paths.h"
index c98e5f8c232c2fa03d3fe974ffb8e68c8ffae934..ef3b03649df259eaccf8af6de8dcaaa9c8e5f976 100644 (file)
@@ -6,7 +6,7 @@
 *   OX2 operator according to Syswerda
 *   (The Genetic Algorithms Handbook, ed L Davis)
 *
-* $Id: geqo_ox2.c,v 1.5 1999/02/13 23:16:10 momjian Exp $
+* $Id: geqo_ox2.c,v 1.6 1999/07/15 15:19:12 momjian Exp $
 *
 *-------------------------------------------------------------------------
 */
@@ -39,8 +39,6 @@
 #include "nodes/relation.h"
 #include "nodes/primnodes.h"
 
-#include "utils/palloc.h"
-#include "utils/elog.h"
 
 #include "optimizer/internal.h"
 #include "optimizer/paths.h"
index 76cbc45f07f78c9eaf28096c47815b56c621fc0e..e9bb76a1f9e34cbc059db44e35876f57aae76517 100644 (file)
@@ -5,7 +5,7 @@
 *
 * Copyright (c) 1994, Regents of the University of California
 *
-* $Id: geqo_params.c,v 1.18 1999/07/14 01:19:51 momjian Exp $
+* $Id: geqo_params.c,v 1.19 1999/07/15 15:19:13 momjian Exp $
 *
 *-------------------------------------------------------------------------
 */
@@ -31,8 +31,6 @@
 #include "nodes/relation.h"
 #include "nodes/primnodes.h"
 
-#include "utils/palloc.h"
-#include "utils/elog.h"
 
 #include "optimizer/internal.h"
 #include "optimizer/paths.h"
@@ -45,7 +43,6 @@
 
 #include "storage/fd.h"
 
-#include "utils/mcxt.h"
 
 /*
  * Parameter values read from the config file (or defaulted) are stored here
index 692ba09eab0b2d000bac16cc2d2d5a3635c0407b..330732b8144dff23710b5cff6c29b09b01b62c73 100644 (file)
@@ -6,7 +6,7 @@
 *   PMX operator according to Goldberg & Lingle
 *   (Proc Int'l Conf on GA's)
 *
-* $Id: geqo_pmx.c,v 1.6 1999/07/14 01:19:52 momjian Exp $
+* $Id: geqo_pmx.c,v 1.7 1999/07/15 15:19:13 momjian Exp $
 *
 *-------------------------------------------------------------------------
 */
@@ -39,8 +39,6 @@
 #include "nodes/relation.h"
 #include "nodes/primnodes.h"
 
-#include "utils/palloc.h"
-#include "utils/elog.h"
 
 #include "optimizer/internal.h"
 #include "optimizer/paths.h"
@@ -53,7 +51,6 @@
 #include "optimizer/geqo_recombination.h"
 #include "optimizer/geqo_random.h"
 
-#include "utils/mcxt.h"
 
 /* pmx
  *
index 3a1b1030f67229d0924ec72bf568bbbd33b47491..79e237dc881856e26b79a015e734b5d786c9acfe 100644 (file)
@@ -5,7 +5,7 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: geqo_pool.c,v 1.13 1999/07/14 01:19:52 momjian Exp $
+ * $Id: geqo_pool.c,v 1.14 1999/07/15 15:19:14 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -26,8 +26,6 @@
 #include "nodes/relation.h"
 #include "nodes/primnodes.h"
 
-#include "utils/palloc.h"
-#include "utils/elog.h"
 
 #include "optimizer/internal.h"
 #include "optimizer/paths.h"
@@ -41,7 +39,6 @@
 #include "optimizer/geqo_copy.h"
 #include "optimizer/geqo_recombination.h"
 
-#include "utils/mcxt.h"
 
 static int compare(const void *arg1, const void *arg2);
 
index beaa2cfb576b9040ef2a59ccc39cb5c15269734c..983c01cfcc878345006fc16e1cdd8a16f0382d81 100644 (file)
@@ -6,7 +6,7 @@
 *   PX operator according to Syswerda
 *   (The Genetic Algorithms Handbook, L Davis, ed)
 *
-* $Id: geqo_px.c,v 1.6 1999/02/13 23:16:12 momjian Exp $
+* $Id: geqo_px.c,v 1.7 1999/07/15 15:19:14 momjian Exp $
 *
 *-------------------------------------------------------------------------
 */
@@ -39,8 +39,6 @@
 #include "nodes/relation.h"
 #include "nodes/primnodes.h"
 
-#include "utils/palloc.h"
-#include "utils/elog.h"
 
 #include "optimizer/internal.h"
 #include "optimizer/paths.h"
index 7afa5e41f33169982ede3e060dfb036f81f6e18d..f01b59a89929109c87c21007f15d9fb2c0e79f2d 100644 (file)
@@ -3,7 +3,7 @@
 * geqo_recombination.c
 *   misc recombination procedures
 *
-* $Id: geqo_recombination.c,v 1.8 1999/07/14 01:19:53 momjian Exp $
+* $Id: geqo_recombination.c,v 1.9 1999/07/15 15:19:15 momjian Exp $
 *
 *-------------------------------------------------------------------------
 */
@@ -24,8 +24,6 @@
 #include "nodes/relation.h"
 #include "nodes/primnodes.h"
 
-#include "utils/palloc.h"
-#include "utils/elog.h"
 
 #include "optimizer/internal.h"
 #include "optimizer/paths.h"
@@ -38,7 +36,6 @@
 #include "optimizer/geqo_recombination.h"
 #include "optimizer/geqo_random.h"
 
-#include "utils/mcxt.h"
 
 /*
  * init_tour
index b42e4450f288f20432442e516fec2c83890fa8a8..8c5301f10b7e36350f85587121e27820d879a3af 100644 (file)
@@ -5,7 +5,7 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: geqo_selection.c,v 1.7 1999/02/13 23:16:13 momjian Exp $
+ * $Id: geqo_selection.c,v 1.8 1999/07/15 15:19:15 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -41,8 +41,6 @@
 #include "nodes/relation.h"
 #include "nodes/primnodes.h"
 
-#include "utils/palloc.h"
-#include "utils/elog.h"
 
 #include "optimizer/internal.h"
 #include "optimizer/paths.h"
index 255602bcfab36b8a18f1f24c7c6b1aa11ef00316..9da3bdc5e9ccdb337371cd793ead3226327e08fb 100644 (file)
@@ -7,7 +7,7 @@
 *
 *
 * IDENTIFICATION
-*   $Header: /cvsroot/pgsql/src/backend/optimizer/geqo/Attic/minspantree.c,v 1.12 1999/05/25 22:41:22 momjian Exp $
+*   $Header: /cvsroot/pgsql/src/backend/optimizer/geqo/Attic/minspantree.c,v 1.13 1999/07/15 15:19:15 momjian Exp $
 *
 *-------------------------------------------------------------------------
 */
@@ -20,7 +20,6 @@
 #include "nodes/relation.h"
 #include "nodes/primnodes.h"
 
-#include "utils/palloc.h"
 
 #include "optimizer/cost.h"
 
index 9c57e16536e65d3557c16e2121b1f07f257f958c..c47df87102b6aa32400ab1d5fc9a2ef669bfadf7 100644 (file)
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *   $Header: /cvsroot/pgsql/src/backend/optimizer/path/_deadcode/Attic/predmig.c,v 1.4 1999/05/25 22:41:35 momjian Exp $
+ *   $Header: /cvsroot/pgsql/src/backend/optimizer/path/_deadcode/Attic/predmig.c,v 1.5 1999/07/15 15:19:19 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -39,9 +39,6 @@
 #include "nodes/nodes.h"
 #include "nodes/primnodes.h"
 #include "nodes/relation.h"
-#include "utils/palloc.h"
-#include "utils/elog.h"
-#include "optimizer/xfunc.h"
 #include "optimizer/pathnode.h"
 #include "optimizer/internal.h"
 #include "optimizer/cost.h"
index d77f9d2f107898ccbbfb6ec68d48bc7738ec2f5a..2921372d6c54544dd7ddd15ab1c8c80b1e19181c 100644 (file)
@@ -9,7 +9,7 @@
  *
  *
  * IDENTIFICATION
- *   $Header: /cvsroot/pgsql/src/backend/optimizer/path/_deadcode/Attic/xfunc.c,v 1.5 1999/07/03 00:32:42 momjian Exp $
+ *   $Header: /cvsroot/pgsql/src/backend/optimizer/path/_deadcode/Attic/xfunc.c,v 1.6 1999/07/15 15:19:19 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -36,7 +36,6 @@
 #include "optimizer/keys.h"
 #include "optimizer/pathnode.h"
 #include "optimizer/tlist.h"   /* for get_expr */
-#include "optimizer/xfunc.h"
 #include "storage/buf_internals.h"     /* for NBuffers */
 #include "tcop/dest.h"
 #include "utils/syscache.h"
index d9b65c72fb9e90f0a677080f8710debfecab1a3d..15c94a112fe9e840a7c0e757306f33c33279aa43 100644 (file)
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *   $Header: /cvsroot/pgsql/src/backend/optimizer/path/allpaths.c,v 1.46 1999/05/25 22:41:25 momjian Exp $
+ *   $Header: /cvsroot/pgsql/src/backend/optimizer/path/allpaths.c,v 1.47 1999/07/15 15:19:17 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -25,7 +25,6 @@
 #include "optimizer/paths.h"
 #include "optimizer/pathnode.h"
 #include "optimizer/clauses.h"
-#include "optimizer/xfunc.h"
 #include "optimizer/cost.h"
 
 #include "commands/creatinh.h"
index e1870912bffeebb604b15dcb49480d292091dda8..b5666ffb7d24253fc5b2434dc4009a377ae276bd 100644 (file)
@@ -8,7 +8,7 @@
  *
  *
  * IDENTIFICATION
- *   $Header: /cvsroot/pgsql/src/backend/optimizer/path/indxpath.c,v 1.57 1999/06/19 04:54:14 momjian Exp $
+ *   $Header: /cvsroot/pgsql/src/backend/optimizer/path/indxpath.c,v 1.58 1999/07/15 15:19:18 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -37,7 +37,6 @@
 #include "optimizer/paths.h"
 #include "optimizer/plancat.h"
 #include "optimizer/pathnode.h"
-#include "optimizer/xfunc.h"
 #include "parser/parsetree.h"  /* for getrelid() */
 #include "parser/parse_expr.h" /* for exprType() */
 #include "parser/parse_oper.h" /* for oprid() and oper() */
index 0b9dd397d74f8918a5297f2b281d186cd29a4b5f..bbcb9e99da74895f11ca1b08369349c041bce0ab 100644 (file)
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *   $Header: /cvsroot/pgsql/src/backend/optimizer/path/orindxpath.c,v 1.25 1999/05/25 22:41:32 momjian Exp $
+ *   $Header: /cvsroot/pgsql/src/backend/optimizer/path/orindxpath.c,v 1.26 1999/07/15 15:19:18 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -26,7 +26,6 @@
 #include "optimizer/paths.h"
 #include "optimizer/cost.h"
 #include "optimizer/plancat.h"
-#include "optimizer/xfunc.h"
 
 #include "parser/parsetree.h"
 
index ba8880daa26449fdddf401a3b7a5e398c9a01617..f004bb0c90c3ee40375caded9192a01a4073adf4 100644 (file)
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *   $Header: /cvsroot/pgsql/src/backend/optimizer/path/Attic/prune.c,v 1.39 1999/05/25 22:41:33 momjian Exp $
+ *   $Header: /cvsroot/pgsql/src/backend/optimizer/path/Attic/prune.c,v 1.40 1999/07/15 15:19:18 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -21,7 +21,6 @@
 #include "optimizer/paths.h"
 #include "optimizer/pathnode.h"
 
-#include "utils/elog.h"
 
 
 static List *merge_rel_with_same_relids(RelOptInfo *rel, Relids unjoined_relids);
index cc08b17bb2003effd9535f866457a4f29e078cd2..17ab7e85c5b9d5c06b21b410b2dff300caeafd20 100644 (file)
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *   $Header: /cvsroot/pgsql/src/backend/optimizer/plan/createplan.c,v 1.57 1999/05/25 22:41:38 momjian Exp $
+ *   $Header: /cvsroot/pgsql/src/backend/optimizer/plan/createplan.c,v 1.58 1999/07/15 15:19:20 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -28,7 +28,6 @@
 #include "nodes/makefuncs.h"
 
 #include "utils/lsyscache.h"
-#include "utils/palloc.h"
 #include "utils/builtins.h"
 
 #include "optimizer/restrictinfo.h"
@@ -37,7 +36,6 @@
 #include "optimizer/planmain.h"
 #include "optimizer/tlist.h"
 #include "optimizer/planner.h"
-#include "optimizer/xfunc.h"
 #include "optimizer/internal.h"
 
 
index 059f52e5bf41d18fff595f781a9c5a26abb25c88..947ec23da6a678b6fd0c2a2e4509e2f00bd95741 100644 (file)
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *   $Header: /cvsroot/pgsql/src/backend/optimizer/plan/initsplan.c,v 1.31 1999/05/25 22:41:39 momjian Exp $
+ *   $Header: /cvsroot/pgsql/src/backend/optimizer/plan/initsplan.c,v 1.32 1999/07/15 15:19:22 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -26,7 +26,6 @@
 #include "catalog/pg_type.h"
 
 #include "utils/lsyscache.h"
-#include "utils/palloc.h"
 
 #include "optimizer/internal.h"
 #include "optimizer/planmain.h"
index 80eaaf9a055716dafcbe817101eb182e054ec2f6..924cb35062464d97da8636907b837fa546fa7d3a 100644 (file)
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *   $Header: /cvsroot/pgsql/src/backend/optimizer/plan/planmain.c,v 1.37 1999/06/12 19:38:30 tgl Exp $
+ *   $Header: /cvsroot/pgsql/src/backend/optimizer/plan/planmain.c,v 1.38 1999/07/15 15:19:22 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
 #include "optimizer/keys.h"
 #include "optimizer/tlist.h"
 #include "optimizer/var.h"
-#include "optimizer/xfunc.h"
 #include "optimizer/cost.h"
 
 #include "tcop/dest.h"
-#include "utils/elog.h"
-#include "utils/palloc.h"
 #include "nodes/memnodes.h"
-#include "utils/mcxt.h"
 #include "utils/lsyscache.h"
 
 static Plan *subplanner(Query *root, List *flat_tlist, List *qual);
index 5165bf428b3efa463329fafbcb9242f896619427..ac145b5e1710778f7dc7527086f183aa26bca6fb 100644 (file)
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *   $Header: /cvsroot/pgsql/src/backend/optimizer/plan/planner.c,v 1.57 1999/06/21 01:20:57 tgl Exp $
+ *   $Header: /cvsroot/pgsql/src/backend/optimizer/plan/planner.c,v 1.58 1999/07/15 15:19:23 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -24,7 +24,6 @@
 #include "catalog/pg_type.h"
 #include "parser/parse_expr.h"
 
-#include "utils/elog.h"
 #include "utils/lsyscache.h"
 #include "access/heapam.h"
 
index 0ba84d3ba98d00a5fdbdc913d155ea230ddaa39d..9d11dc4908d7351c155ca4ab005f1c78b4206341 100644 (file)
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *   $Header: /cvsroot/pgsql/src/backend/optimizer/plan/setrefs.c,v 1.50 1999/06/06 17:38:10 tgl Exp $
+ *   $Header: /cvsroot/pgsql/src/backend/optimizer/plan/setrefs.c,v 1.51 1999/07/15 15:19:24 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -20,7 +20,6 @@
 #include "nodes/primnodes.h"
 #include "nodes/relation.h"
 
-#include "utils/elog.h"
 #include "nodes/nodeFuncs.h"
 #include "nodes/makefuncs.h"
 
index c2ed4e0df1f47743953b8d91dc1b22c79e224ca6..7c132ec4478b360fa3450ea0c84a2031a36f1e04 100644 (file)
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *   $Header: /cvsroot/pgsql/src/backend/optimizer/prep/preptlist.c,v 1.22 1999/05/29 01:48:06 tgl Exp $
+ *   $Header: /cvsroot/pgsql/src/backend/optimizer/prep/preptlist.c,v 1.23 1999/07/15 15:19:25 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -25,7 +25,6 @@
 #include "utils/builtins.h"
 #include "utils/syscache.h"
 #include "utils/lsyscache.h"
-#include "utils/palloc.h"
 #include "parser/parse_type.h"
 
 #include "parser/parsetree.h"  /* for getrelid() */
index 9ae2fb57a8915822abe47196a1535e637b076bac..fae22f326278f0dedcf37e8563587611c3df6410 100644 (file)
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *   $Header: /cvsroot/pgsql/src/backend/optimizer/prep/prepunion.c,v 1.33 1999/06/10 06:55:40 tgl Exp $
+ *   $Header: /cvsroot/pgsql/src/backend/optimizer/prep/prepunion.c,v 1.34 1999/07/15 15:19:25 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -25,7 +25,6 @@
 #include "parser/parsetree.h"
 #include "parser/parse_clause.h"
 
-#include "utils/elog.h"
 #include "utils/lsyscache.h"
 
 #include "optimizer/internal.h"
index 88236173a57b7bec8f9bb18bf7fefd4308a4271e..34d73bad808a352965c0f0eac3e5abfe2fb26d73 100644 (file)
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *   $Header: /cvsroot/pgsql/src/backend/optimizer/util/Attic/keys.c,v 1.21 1999/05/25 22:41:48 momjian Exp $
+ *   $Header: /cvsroot/pgsql/src/backend/optimizer/util/Attic/keys.c,v 1.22 1999/07/15 15:19:26 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -15,7 +15,6 @@
 #include "nodes/pg_list.h"
 #include "nodes/nodes.h"
 #include "nodes/relation.h"
-#include "utils/elog.h"
 
 #include "optimizer/internal.h"
 #include "optimizer/keys.h"
index 2cc98e7a8711ae1560ab7fca3d60cc66f4d635b9..3712db3d714e3059e5b3e7d812bf1f0023aa18f3 100644 (file)
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *   $Header: /cvsroot/pgsql/src/backend/optimizer/util/pathnode.c,v 1.42 1999/05/25 22:41:49 momjian Exp $
+ *   $Header: /cvsroot/pgsql/src/backend/optimizer/util/pathnode.c,v 1.43 1999/07/15 15:19:26 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -16,7 +16,6 @@
 #include "postgres.h"
 
 #include "nodes/relation.h"
-#include "utils/elog.h"
 
 #include "optimizer/internal.h"
 #include "optimizer/pathnode.h"
@@ -24,7 +23,6 @@
 #include "optimizer/plancat.h"
 #include "optimizer/cost.h"
 #include "optimizer/keys.h"
-#include "optimizer/xfunc.h"
 #include "optimizer/ordering.h"
 
 #include "parser/parsetree.h"  /* for getrelid() */
index 8a331a99052145615a92f46b40dfb13d49036fee..a133e7a5527becbf35a72328c5eb6e6687795ee6 100644 (file)
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *   $Header: /cvsroot/pgsql/src/backend/optimizer/util/tlist.c,v 1.33 1999/05/25 22:41:51 momjian Exp $
+ *   $Header: /cvsroot/pgsql/src/backend/optimizer/util/tlist.c,v 1.34 1999/07/15 15:19:27 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -17,7 +17,6 @@
 #include "nodes/primnodes.h"
 #include "nodes/pg_list.h"
 #include "nodes/nodeFuncs.h"
-#include "utils/elog.h"
 #include "utils/lsyscache.h"
 
 #include "optimizer/internal.h"
index e21af3abf3996dbd58d1c61247cf49d5c337e4b1..59ae795f3ae1154949c627d6a8aacacefd0274f5 100644 (file)
@@ -5,7 +5,7 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: analyze.c,v 1.111 1999/07/13 21:17:32 momjian Exp $
+ * $Id: analyze.c,v 1.112 1999/07/15 15:19:29 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -31,7 +31,6 @@
 #include "parse.h"
 
 #include "utils/builtins.h"
-#include "utils/mcxt.h"
 
 static Query *transformStmt(ParseState *pstate, Node *stmt);
 static Query *transformDeleteStmt(ParseState *pstate, DeleteStmt *stmt);
index 2619731075d0395fab05ad7a3d06a2b0dd3b1fae..b649f9e781259c51153fec01a749c2438be3425b 100644 (file)
@@ -10,7 +10,7 @@
  *
  *
  * IDENTIFICATION
- *   $Header: /cvsroot/pgsql/src/backend/parser/gram.y,v 2.89 1999/07/13 21:17:33 momjian Exp $
+ *   $Header: /cvsroot/pgsql/src/backend/parser/gram.y,v 2.90 1999/07/15 15:19:30 momjian Exp $
  *
  * HISTORY
  *   AUTHOR            DATE            MAJOR EVENT
 #include "parser/gramparse.h"
 #include "parser/parse_type.h"
 #include "utils/acl.h"
-#include "utils/palloc.h"
 #include "catalog/catname.h"
-#include "utils/elog.h"
 #include "access/xact.h"
 #include "storage/lmgr.h"
 #include "utils/numeric.h"
 #include "parser/analyze.h"
 #include "catalog/pg_type.h"
+#include "storage/bufpage.h"
 
 #ifdef MULTIBYTE
 #include "mb/pg_wchar.h"
index fd99a9613c75154c692d55c999fa063a0d173f2f..22b21f7056c9d6f79acc0dd403683a4d6c480bbd 100644 (file)
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *   $Header: /cvsroot/pgsql/src/backend/parser/keywords.c,v 1.58 1999/07/13 21:17:34 momjian Exp $
+ *   $Header: /cvsroot/pgsql/src/backend/parser/keywords.c,v 1.59 1999/07/15 15:19:31 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -19,7 +19,6 @@
 #include "nodes/pg_list.h"
 #include "parse.h"
 #include "parser/keywords.h"
-#include "utils/elog.h"
 
 /*
  * List of (keyword-name, keyword-token-value) pairs.
index c91c9e9afbb2b85d56607aaad484fb7188968349..a2bf9f080a920d21a367fc7ac9a130e1bb8affb9 100644 (file)
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *   $Header: /cvsroot/pgsql/src/backend/parser/parse_clause.c,v 1.37 1999/05/26 12:55:35 momjian Exp $
+ *   $Header: /cvsroot/pgsql/src/backend/parser/parse_clause.c,v 1.38 1999/07/15 15:19:31 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -27,7 +27,7 @@
 #include "parser/parse_target.h"
 #include "parser/parse_coerce.h"
 #include "nodes/print.h"
-
+#include "nodes/relation.h"
 #include "parse.h"
 
 
index 9f41d00b9e3fdbe696fa91fa1b4c54987a4f12d5..f1db1359556784a9543108a88facd81a60e5b4c0 100644 (file)
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *   $Header: /cvsroot/pgsql/src/backend/parser/parse_oper.c,v 1.25 1999/05/25 16:10:18 momjian Exp $
+ *   $Header: /cvsroot/pgsql/src/backend/parser/parse_oper.c,v 1.26 1999/07/15 15:19:31 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -26,6 +26,7 @@
 #include "parser/parse_coerce.h"
 #include "storage/bufmgr.h"
 #include "utils/syscache.h"
+#include "parser/parse_func.h"
 
 static Oid *oper_select_candidate(int nargs, Oid *input_typeids,
                      CandidateList candidates);
index 3101f7ac7a0bca3bbb29db6db6770cd3f393d8a9..323334dddcff55a8daa0278e23ce51039d40ccc7 100644 (file)
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *   $Header: /cvsroot/pgsql/src/backend/parser/parse_relation.c,v 1.22 1999/05/25 16:10:19 momjian Exp $
+ *   $Header: /cvsroot/pgsql/src/backend/parser/parse_relation.c,v 1.23 1999/07/15 15:19:32 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -24,6 +24,7 @@
 #include "utils/acl.h"
 #include "utils/builtins.h"
 #include "utils/lsyscache.h"
+#include "parser/parse_type.h"
 
 static void checkTargetTypes(ParseState *pstate, char *target_colname,
                 char *refname, char *colname);
index f32aee93f828445a7c2ade8568c8c23e8d8114ca..d2357a92609365e70232fdd240c864df95d71f59 100644 (file)
@@ -8,7 +8,7 @@
  *
  *
  * IDENTIFICATION
- *   $Header: /cvsroot/pgsql/src/backend/parser/scansup.c,v 1.13 1999/05/25 16:10:25 momjian Exp $
+ *   $Header: /cvsroot/pgsql/src/backend/parser/scansup.c,v 1.14 1999/07/15 15:19:32 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -21,7 +21,6 @@
 #include "postgres.h"
 #include "miscadmin.h"
 #include "parser/scansup.h"
-#include "utils/elog.h"
 
 /* ----------------
  *     scanstr
index fd1fbd73b8e1ddd33f946ee2caea337ad2ceb905..88e8c0e0f8371eb5995d6cd55860680317eb547d 100644 (file)
@@ -19,7 +19,6 @@
 #include 
 #include "postgres.h"
 #include "dynloader.h"
-#include "utils/elog.h"
 #include "fmgr.h"
 
 extern char *pg_pathname;
index 1ab5ff1afb47b80d0175650d0fd55808a34b54b0..2d81ce9025b3e93a4edd86f183eea65005a7a9b8 100644 (file)
@@ -10,7 +10,7 @@
  *
  *
  * IDENTIFICATION
- *   $Header: /cvsroot/pgsql/src/backend/port/dynloader/linux.c,v 1.11 1999/02/21 03:49:13 scrappy Exp $
+ *   $Header: /cvsroot/pgsql/src/backend/port/dynloader/linux.c,v 1.12 1999/07/15 15:19:35 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -22,7 +22,6 @@
 #include 
 #endif
 #include "dynloader.h"
-#include "utils/elog.h"
 #include "fmgr.h"
 
 #ifdef NOT_USED
index 96f2f2008332303be9a71f8f05717331759fa252..b21f9904bbccc4adc6b8e14240647ae58ef007d9 100644 (file)
@@ -9,7 +9,7 @@
  *
  *
  * IDENTIFICATION
- *   $Header: /cvsroot/pgsql/src/backend/port/dynloader/ultrix4.c,v 1.5 1999/02/13 23:17:29 momjian Exp $
+ *   $Header: /cvsroot/pgsql/src/backend/port/dynloader/ultrix4.c,v 1.6 1999/07/15 15:19:36 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -20,7 +20,6 @@
 #include "postgres.h"
 #include "fmgr.h"
 #include "port-protos.h"
-#include "utils/elog.h"
 
 extern char *pg_pathname;
 
index 84b82936916e8d120b76611ba21363e09b685c35..a14dee96ca888e7d9109d1c2e1fdd09b91feb205 100644 (file)
@@ -1,12 +1,9 @@
-/* $Id: random.c,v 1.6 1999/02/07 22:07:02 tgl Exp $ */
+/* $Id: random.c,v 1.7 1999/07/15 15:19:33 momjian Exp $ */
 
 #include 
 #include               /* for pow() prototype */
 #include 
 
-#include "config.h"
-#include "rusagestub.h"
-
 long
 random()
 {
index ed7cf4b7bea88b36ef4574bf2a67a0c0f7d225af..b1034f0279067af1387307879e41436b39d2592d 100644 (file)
@@ -1,12 +1,9 @@
-/* $Id: srandom.c,v 1.6 1999/02/07 22:07:02 tgl Exp $ */
+/* $Id: srandom.c,v 1.7 1999/07/15 15:19:34 momjian Exp $ */
 
 #include 
 #include               /* for pow() prototype */
 #include 
 
-#include "config.h"
-#include "rusagestub.h"
-
 void
 srandom(unsigned int seed)
 {
index 42799635808e507d5961a95911db9993975b1f5a..913768b2d147a78f58e401af51fa1d51dd0b4c8e 100644 (file)
@@ -10,7 +10,7 @@
  *
  *
  * IDENTIFICATION
- *   $Header: /cvsroot/pgsql/src/backend/postmaster/postmaster.c,v 1.108 1999/07/07 17:17:48 momjian Exp $
+ *   $Header: /cvsroot/pgsql/src/backend/postmaster/postmaster.c,v 1.109 1999/07/15 15:19:38 momjian Exp $
  *
  * NOTES
  *
@@ -89,9 +89,7 @@
 #include "tcop/tcopprot.h"
 #include "commands/async.h"
 #include "nodes/nodes.h"
-#include "utils/mcxt.h"
 #include "storage/proc.h"
-#include "utils/elog.h"
 #ifndef HAVE_GETHOSTNAME
 #include "port-protos.h"       /* For gethostname() */
 #endif
index c73cdd8784a47651626000d2288e33607b1042cf..609810ba5cad60e731d4b521a2cf3dfadfbaaef0 100644 (file)
@@ -6,12 +6,11 @@
  *
  *
  * IDENTIFICATION
- *   $Header: /cvsroot/pgsql/src/backend/rewrite/Attic/locks.c,v 1.17 1999/02/13 23:17:44 momjian Exp $
+ *   $Header: /cvsroot/pgsql/src/backend/rewrite/Attic/locks.c,v 1.18 1999/07/15 15:19:40 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
 #include "postgres.h"          /* for oid defs */
-#include "utils/elog.h"            /* for elog */
 #include "nodes/pg_list.h"     /* lisp support package */
 #include "nodes/parsenodes.h"
 #include "nodes/primnodes.h"   /* Var node def */
index cd0dd59c7fba547aaa714044d48e47d782a70f18..27eef692d5e83fd8d7341847848584e8b51a2497 100644 (file)
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *   $Header: /cvsroot/pgsql/src/backend/rewrite/rewriteDefine.c,v 1.30 1999/07/04 05:16:05 momjian Exp $
+ *   $Header: /cvsroot/pgsql/src/backend/rewrite/rewriteDefine.c,v 1.31 1999/07/15 15:19:41 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -20,7 +20,7 @@
 #include "access/heapam.h"     /* access methods like amopenr */
 #include "catalog/pg_rewrite.h"
 #include "nodes/parsenodes.h"
-#include "nodes/pg_list.h"     /* for Lisp support */
+#include "nodes/pg_list.h"
 #include "parser/parse_relation.h"
 #include "rewrite/locks.h"
 #include "rewrite/rewriteDefine.h"
@@ -28,9 +28,9 @@
 #include "rewrite/rewriteSupport.h"
 #include "tcop/tcopprot.h"
 #include "utils/builtins.h"
-#include "utils/lsyscache.h"   /* for get_typlen */
-#include "utils/rel.h"         /* for Relation stuff */
-
+#include "utils/lsyscache.h"
+#include "utils/rel.h"
+#include "storage/bufpage.h"
 
 Oid            LastOidProcessed = InvalidOid;
 
index 4c525f4f9c19dca4af1d11446a6fdfc441b3c3d1..eafed074ad22e06d93a0bf9c8f6426f45d03b5b0 100644 (file)
@@ -6,20 +6,18 @@
  *
  *
  * IDENTIFICATION
- *   $Header: /cvsroot/pgsql/src/backend/rewrite/rewriteHandler.c,v 1.49 1999/07/13 21:17:35 momjian Exp $
+ *   $Header: /cvsroot/pgsql/src/backend/rewrite/rewriteHandler.c,v 1.50 1999/07/15 15:19:43 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
 #include 
 #include "postgres.h"
 #include "miscadmin.h"
-#include "utils/palloc.h"
-#include "utils/elog.h"
 #include "utils/rel.h"
 #include "nodes/pg_list.h"
 #include "nodes/primnodes.h"
 #include "nodes/relation.h"
-
+#include "parser/parse_type.h"
 #include "parser/parsetree.h"  /* for parsetree manipulation */
 #include "parser/parse_relation.h"
 #include "nodes/parsenodes.h"
index 50f1d8ec7f18aadaa491e042841c904e953a4489..feee3055c3a60c70b1eb564d368f2fb42880cfaa 100644 (file)
@@ -6,14 +6,13 @@
  *
  *
  * IDENTIFICATION
- *   $Header: /cvsroot/pgsql/src/backend/rewrite/rewriteManip.c,v 1.33 1999/07/13 21:17:36 momjian Exp $
+ *   $Header: /cvsroot/pgsql/src/backend/rewrite/rewriteManip.c,v 1.34 1999/07/15 15:19:43 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
 #include 
 #include "postgres.h"
 #include "nodes/pg_list.h"
-#include "utils/elog.h"
 #include "nodes/nodes.h"
 #include "nodes/relation.h"
 #include "nodes/primnodes.h"
index 79ad5afed7ae54514f711ad6ad5330e3a6972525..305d2e49ac06556c8510743bc3f51103a8372eda 100644 (file)
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *   $Header: /cvsroot/pgsql/src/backend/rewrite/rewriteSupport.c,v 1.32 1999/02/13 23:17:52 momjian Exp $
+ *   $Header: /cvsroot/pgsql/src/backend/rewrite/rewriteSupport.c,v 1.33 1999/07/15 15:19:43 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -25,7 +25,6 @@
 #include "storage/bufmgr.h"
 #include "utils/builtins.h"        /* for textout */
 #include "utils/catcache.h"        /* for CacheContext */
-#include "utils/mcxt.h"            /* MemoryContext stuff */
 #include "utils/rel.h"         /* for Relation, RelationData ... */
 #include "utils/syscache.h"        /* for SearchSysCache */
 
index e81b2dfb96bab059578282f33570d8a2c30a7160..fa3914b61c04b8d7329fa01e8383eeedd3e8a2e7 100644 (file)
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *   $Header: /cvsroot/pgsql/src/backend/storage/buffer/bufmgr.c,v 1.56 1999/06/29 04:54:47 vadim Exp $
+ *   $Header: /cvsroot/pgsql/src/backend/storage/buffer/bufmgr.c,v 1.57 1999/07/15 15:19:44 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -64,7 +64,6 @@
 #include "miscadmin.h"
 #include "utils/builtins.h"
 #include "utils/hsearch.h"
-#include "utils/palloc.h"
 #include "utils/memutils.h"
 #include "utils/relcache.h"
 #include "executor/execdebug.h" /* for NDirectFileRead */
index f39f55918f220078805569cff8058076c3c81fcc..ca2e754ca4d4bfc41ad6ab7923a1a30dcde3cefe 100644 (file)
@@ -6,7 +6,7 @@
  * Copyright (c) 1994, Regents of the University of California
  *
  * IDENTIFICATION
- *   $Id: fd.c,v 1.44 1999/07/14 01:19:53 momjian Exp $
+ *   $Id: fd.c,v 1.45 1999/07/15 15:19:47 momjian Exp $
  *
  * NOTES:
  *
 
 #include "postgres.h"
 #include "miscadmin.h"         /* for DataDir */
-#include "utils/palloc.h"
 #include "storage/fd.h"
-#include "utils/elog.h"
-#include "utils/mcxt.h"
 
 /*
  * Problem: Postgres does a system(ld...) to do dynamic loading.
index e317c0e1adf5be7238f8e39459b5d4d31927e2a5..8213a84c14541b6959274a3ce3ee1ce4d657ee15 100644 (file)
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *   $Header: /cvsroot/pgsql/src/backend/storage/ipc/shmem.c,v 1.42 1999/06/06 20:19:35 vadim Exp $
+ *   $Header: /cvsroot/pgsql/src/backend/storage/ipc/shmem.c,v 1.43 1999/07/15 15:19:48 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -69,6 +69,7 @@
 #include "utils/memutils.h"
 #include "access/xact.h"
 #include "utils/tqual.h"
+#include "access/transam.h"
 
 /* shared memory global variables */
 
index 2ebda765a88a420ec013443edf771c25478fff48..8a47ecaa42dbcb3df0c9d96b7b6a4e01af714754 100644 (file)
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *   $Header: /cvsroot/pgsql/src/backend/storage/ipc/sinvaladt.c,v 1.20 1999/05/28 17:03:28 tgl Exp $
+ *   $Header: /cvsroot/pgsql/src/backend/storage/ipc/sinvaladt.c,v 1.21 1999/07/15 15:19:49 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -22,7 +22,6 @@
 #include "storage/sinvaladt.h"
 #include "storage/lmgr.h"
 #include "utils/memutils.h"
-#include "utils/palloc.h"
 #include "utils/trace.h"
 
 /* ----------------
index 58ee47fe611bf4b600098b67a6ffc89cbcd708db..2dce65a108a5e5894c849c43914de60d551c8491 100644 (file)
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *   $Header: /cvsroot/pgsql/src/backend/storage/lmgr/lmgr.c,v 1.27 1999/06/10 14:17:11 vadim Exp $
+ *   $Header: /cvsroot/pgsql/src/backend/storage/lmgr/lmgr.c,v 1.28 1999/07/15 15:19:51 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -35,8 +35,6 @@
 #include "storage/multilev.h"
 #include "storage/lmgr.h"
 
-#include "utils/palloc.h"
-#include "utils/mcxt.h"
 #include "utils/rel.h"
 
 #include "catalog/catname.h"
index 2349e956a8995b800d903f75c0bd1775bbfb02b9..ba44c44de0dc1ab159260e1d8bab0d26642801fd 100644 (file)
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *   $Header: /cvsroot/pgsql/src/backend/storage/lmgr/lock.c,v 1.55 1999/05/29 06:14:42 vadim Exp $
+ *   $Header: /cvsroot/pgsql/src/backend/storage/lmgr/lock.c,v 1.56 1999/07/15 15:19:52 momjian Exp $
  *
  * NOTES
  *   Outside modules can create a lock table and acquire/release
@@ -44,7 +44,6 @@
 #include "storage/lock.h"
 #include "utils/hsearch.h"
 #include "utils/memutils.h"
-#include "utils/palloc.h"
 #include "access/xact.h"
 #include "access/transam.h"
 #include "utils/trace.h"
index 204c06302da75a7bf1702143d6a91172e5bf8abd..d33bd8c43749a152a8a280135c2fdc8f9731955c 100644 (file)
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *   $Header: /cvsroot/pgsql/src/backend/storage/page/bufpage.c,v 1.23 1999/07/03 00:32:48 momjian Exp $
+ *   $Header: /cvsroot/pgsql/src/backend/storage/page/bufpage.c,v 1.24 1999/07/15 15:19:53 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -20,7 +20,6 @@
 #include "storage/item.h"
 #include "storage/buf.h"
 #include "storage/bufmgr.h"
-#include "utils/palloc.h"
 #include "utils/memutils.h"
 #include "storage/bufpage.h"
 
index b5d7b86c21dc9c4301b9b6fa4d43f43cbbf18f9a..d94c0ef3f4d9bc47cc456f9e4a611f6f4624f2dc 100644 (file)
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *   $Header: /cvsroot/pgsql/src/backend/storage/smgr/md.c,v 1.46 1999/06/18 16:47:23 momjian Exp $
+ *   $Header: /cvsroot/pgsql/src/backend/storage/smgr/md.c,v 1.47 1999/07/15 15:19:54 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -24,7 +24,6 @@
 #include "storage/block.h"
 #include "storage/fd.h"
 #include "storage/smgr.h"      /* where the declarations go */
-#include "utils/mcxt.h"
 #include "utils/rel.h"
 
 #undef DIAGNOSTIC
index f97a054130e468f6cff50e134920b13286cec350..5ed9e4965be78920c6cec59eda43898f1b0f5022 100644 (file)
@@ -10,7 +10,7 @@
  *
  *
  * IDENTIFICATION
- *   $Header: /cvsroot/pgsql/src/backend/storage/smgr/smgr.c,v 1.25 1999/07/14 01:19:54 momjian Exp $
+ *   $Header: /cvsroot/pgsql/src/backend/storage/smgr/smgr.c,v 1.26 1999/07/15 15:19:56 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -21,8 +21,6 @@
 #include "storage/block.h"
 #include "storage/smgr.h"
 #include "utils/rel.h"
-#include "utils/palloc.h"
-#include "utils/mcxt.h"
 
 static void smgrshutdown(int dummy);
 
index aa5eb729457da0e0dac5955a459d4ebae00fce05..496346462c5fcd56f04a95efcf3abbe9ef0cf7b8 100644 (file)
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *   $Header: /cvsroot/pgsql/src/backend/storage/smgr/smgrtype.c,v 1.12 1999/07/14 01:19:55 momjian Exp $
+ *   $Header: /cvsroot/pgsql/src/backend/storage/smgr/smgrtype.c,v 1.13 1999/07/15 15:19:56 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -15,9 +15,7 @@
 #include "postgres.h"
 
 #include "utils/builtins.h"        /* where the declarations go */
-#include "utils/palloc.h"
 #include "storage/smgr.h"
-#include "utils/mcxt.h"
 
 typedef struct smgrid
 {
index f9e96a2f2705657df34c8fbce63ce16d1ee593c3..967237bec22b957c642b321fea9c8490d191ca2a 100644 (file)
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *   $Header: /cvsroot/pgsql/src/backend/tcop/dest.c,v 1.31 1999/05/25 22:42:06 momjian Exp $
+ *   $Header: /cvsroot/pgsql/src/backend/tcop/dest.c,v 1.32 1999/07/15 15:19:57 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
 #include "libpq/pqformat.h"
 #include "access/printtup.h"
 #include "utils/portal.h"
-#include "utils/palloc.h"
 
 #include "executor/executor.h"
 
 #include "tcop/dest.h"
 
 #include "catalog/pg_type.h"
-#include "utils/mcxt.h"
 
 #include "commands/async.h"
 
index 23f2bd7a2724c8aa02efaffcf65d4240969b34d4..05b4ef90543ea1a59b1c71873a3112d049447858 100644 (file)
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *   $Header: /cvsroot/pgsql/src/backend/tcop/fastpath.c,v 1.24 1999/05/10 00:45:46 momjian Exp $
+ *   $Header: /cvsroot/pgsql/src/backend/tcop/fastpath.c,v 1.25 1999/07/15 15:19:59 momjian Exp $
  *
  * NOTES
  *   This cruft is the server side of PQfn.
@@ -63,7 +63,6 @@
 
 #include "tcop/tcopdebug.h"
 
-#include "utils/palloc.h"
 #include "fmgr.h"
 #include "utils/builtins.h"        /* for oideq */
 #include "tcop/fastpath.h"
index 74c407ecd82662e9bdd653f023ba6a8b2cfa8f18..a17f0ebd43de975d34d9d49ea76750fe062d78dd 100644 (file)
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *   $Header: /cvsroot/pgsql/src/backend/tcop/postgres.c,v 1.119 1999/07/02 18:09:27 momjian Exp $
+ *   $Header: /cvsroot/pgsql/src/backend/tcop/postgres.c,v 1.120 1999/07/15 15:19:59 momjian Exp $
  *
  * NOTES
  *   this is the "main" module of the postgres backend and
@@ -69,7 +69,6 @@
 #include "tcop/tcopdebug.h"
 #include "tcop/tcopprot.h"     /* where declarations for this file go */
 #include "tcop/utility.h"
-#include "utils/mcxt.h"
 #include "utils/rel.h"
 #include "utils/ps_status.h"
 #include "utils/temprel.h"
 #include "nodes/relation.h"
 #endif
 
-#ifdef NOT_USED
-#include "optimizer/xfunc.h"
-#endif
-
 #ifdef NOT_USED
 #include "nodes/plannodes.h"
 #endif
@@ -1525,7 +1520,7 @@ PostgresMain(int argc, char *argv[], int real_argc, char *real_argv[])
    if (!IsUnderPostmaster)
    {
        puts("\nPOSTGRES backend interactive interface ");
-       puts("$Revision: 1.119 $ $Date: 1999/07/02 18:09:27 $\n");
+       puts("$Revision: 1.120 $ $Date: 1999/07/15 15:19:59 $\n");
    }
 
    /* ----------------
index 83c400188f93ad319f40ac8bba45e3b9a6ce861e..e73de6d9bd4c0623d72f203885d82aa7c9173aad 100644 (file)
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *   $Header: /cvsroot/pgsql/src/backend/tcop/pquery.c,v 1.23 1999/05/25 16:11:41 momjian Exp $
+ *   $Header: /cvsroot/pgsql/src/backend/tcop/pquery.c,v 1.24 1999/07/15 15:20:00 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -17,9 +17,7 @@
 
 #include "tcop/tcopdebug.h"
 
-#include "utils/palloc.h"
 #include "nodes/nodes.h"
-#include "utils/mcxt.h"
 #include "miscadmin.h"
 #include "utils/portal.h"
 
index 38099254bf3def5ae6d91307804d266715eb9c7a..970e47db3b580465346bd07b2311f2e045e81bed 100644 (file)
@@ -9,7 +9,7 @@
  *
  *
  * IDENTIFICATION
- *   $Header: /cvsroot/pgsql/src/backend/tcop/utility.c,v 1.61 1999/05/25 16:11:43 momjian Exp $
+ *   $Header: /cvsroot/pgsql/src/backend/tcop/utility.c,v 1.62 1999/07/15 15:20:01 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -40,7 +40,6 @@
 #include "../backend/parser/parse.h"
 #include "utils/builtins.h"
 #include "utils/acl.h"
-#include "utils/palloc.h"
 #include "rewrite/rewriteRemove.h"
 #include "rewrite/rewriteDefine.h"
 #include "tcop/tcopdebug.h"
index b5faa82cb2b2ce97c20536f269a854a3709adf2a..515d488e9fd69b9d423b3729844fdb72f2779459 100644 (file)
@@ -11,7 +11,7 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: tgRecipe.h,v 1.11 1999/05/25 22:42:09 momjian Exp $
+ * $Id: tgRecipe.h,v 1.12 1999/07/15 15:20:03 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -19,7 +19,6 @@
 #include "libpq/libpq.h"
 #ifndef TIOGA_FRONTEND
 #include "libpq/libpq-be.h"
-#include "utils/elog.h"
 #include "utils/geo-decls.h"
 #else
 #include "libpq-fe.h"
index b0e59e3ff08ca39fcb30f83f4fd11e3a86464613..0d97bb0a1c57942b3e3353b545f21501d7aa9692 100644 (file)
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *   $Header: /cvsroot/pgsql/src/backend/utils/adt/arrayfuncs.c,v 1.43 1999/05/25 16:11:50 momjian Exp $
+ *   $Header: /cvsroot/pgsql/src/backend/utils/adt/arrayfuncs.c,v 1.44 1999/07/15 15:20:07 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -27,7 +27,6 @@
 #include "storage/fd.h"
 #include "fmgr.h"
 #include "utils/array.h"
-#include "utils/elog.h"
 
 #include "libpq/libpq-fs.h"
 #include "libpq/be-fsstubs.h"
index a0fe502895aa7721f63b7863a902a45bc32a242b..4514a3bcc55f6931c9348b8a924eb010a8554954 100644 (file)
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *   $Header: /cvsroot/pgsql/src/backend/utils/adt/arrayutils.c,v 1.7 1999/02/13 23:19:02 momjian Exp $
+ *   $Header: /cvsroot/pgsql/src/backend/utils/adt/arrayutils.c,v 1.8 1999/07/15 15:20:10 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -16,8 +16,6 @@
 
 #include "postgres.h"
 
-#include "utils/array.h"
-
 int
 GetOffset(int n, int *dim, int *lb, int *indx)
 {
index d0ac12f4f261ed6672dccdf783d60c90816fb68c..a05ababecbd990dd64f30e8def7dd51ff28b2523 100644 (file)
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *   $Header: /cvsroot/pgsql/src/backend/utils/adt/bool.c,v 1.17 1999/07/14 01:19:56 momjian Exp $
+ *   $Header: /cvsroot/pgsql/src/backend/utils/adt/bool.c,v 1.18 1999/07/15 15:20:11 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -16,8 +16,6 @@
 #include "postgres.h"
 
 #include "utils/builtins.h"        /* where the declarations go */
-#include "utils/palloc.h"
-#include "utils/mcxt.h"
 
 /*****************************************************************************
  *  USER I/O ROUTINES                                                       *
index dd363ee083dfab2fd28f7e3c20e1ab595579bf92..6cfa05205573c888ae0fa7cae76b9970d87fe17a 100644 (file)
@@ -9,7 +9,7 @@
  * workings can be found in the book "Software Solutions in C" by
  * Dale Schumacher, Academic Press, ISBN: 0-12-632360-7.
  *
- * $Header: /cvsroot/pgsql/src/backend/utils/adt/cash.c,v 1.29 1999/07/14 01:19:57 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/utils/adt/cash.c,v 1.30 1999/07/15 15:20:11 momjian Exp $
  */
 
 #include 
@@ -22,7 +22,6 @@
 #include "miscadmin.h"
 #include "utils/builtins.h"
 #include "utils/cash.h"
-#include "utils/mcxt.h"
 
 static const char *num_word(Cash value);
 
index 9eaa721b493202c925eaa81f509d5bf23f3110e2..97f0c22f2a8e6fc93d26c09bcffae691e1ace73f 100644 (file)
@@ -8,16 +8,14 @@
  *
  *
  * IDENTIFICATION
- *   $Header: /cvsroot/pgsql/src/backend/utils/adt/char.c,v 1.23 1999/07/14 01:19:58 momjian Exp $
+ *   $Header: /cvsroot/pgsql/src/backend/utils/adt/char.c,v 1.24 1999/07/15 15:20:12 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
 #include              /* for sprintf() */
 #include 
 #include "postgres.h"
-#include "utils/palloc.h"
 #include "utils/builtins.h"        /* where the declarations go */
-#include "utils/mcxt.h"
 
 /*****************************************************************************
  *  USER I/O ROUTINES                                                       *
index b4a2519831cec40d12a20f417ca9a699e555cd01..c3feaa50636a12c6860d86a563c6bf06bbbc077e 100644 (file)
@@ -9,7 +9,7 @@
  *
  *
  * IDENTIFICATION
- *   $Header: /cvsroot/pgsql/src/backend/utils/adt/date.c,v 1.33 1999/07/14 01:19:59 momjian Exp $
+ *   $Header: /cvsroot/pgsql/src/backend/utils/adt/date.c,v 1.34 1999/07/15 15:20:13 momjian Exp $
  *
  * NOTES
  *  This code is actually (almost) unused.
@@ -40,9 +40,7 @@
 #endif
 #include "access/xact.h"
 #include "utils/builtins.h"        /* where function declarations go */
-#include "utils/palloc.h"
 #include "utils/dt.h"
-#include "utils/mcxt.h"
 
 #define INVALID_RELTIME_STR        "Undefined RelTime"
 #define INVALID_RELTIME_STR_LEN (sizeof(INVALID_RELTIME_STR)-1)
index 5962460280848a0a0907e256dde90c0a63cee50a..0c87ce5a644aadc4be1cb2e913e9b955ac4f3e78 100644 (file)
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *   $Header: /cvsroot/pgsql/src/backend/utils/adt/datetime.c,v 1.34 1999/07/14 01:19:59 momjian Exp $
+ *   $Header: /cvsroot/pgsql/src/backend/utils/adt/datetime.c,v 1.35 1999/07/15 15:20:14 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -24,7 +24,6 @@
 #include "utils/nabstime.h"
 #include "utils/datetime.h"
 #include "access/xact.h"
-#include "utils/mcxt.h"
 
 static int date2tm(DateADT dateVal, int *tzp, struct tm * tm, double *fsec, char **tzn);
 
index bfdd61271af9ba1d99c6a72bcdcf951671f2941c..1c774616d5c61443495042a481f0aba74ea1e3af 100644 (file)
@@ -6,7 +6,7 @@
  *
  *
  * IDENTIFICATION
- *   $Header: /cvsroot/pgsql/src/backend/utils/adt/datum.c,v 1.13 1999/07/14 01:20:00 momjian Exp $
+ *   $Header: /cvsroot/pgsql/src/backend/utils/adt/datum.c,v 1.14 1999/07/15 15:20:14 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -31,8 +31,6 @@
 #include "postgres.h"
 #include "utils/datum.h"
 #include "catalog/pg_type.h"
-#include "utils/palloc.h"
-#include "utils/mcxt.h"
 
 /*-------------------------------------------------------------------------
  * datumGetSize
index 3040cf0b31a3a2e05eda2a60f2cb0c709cabefc3..6e6dc717eb70898cf88806feb5a8193bd7f0aa0c 100644 (file)
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *   $Header: /cvsroot/pgsql/src/backend/utils/adt/Attic/dt.c,v 1.73 1999/07/14 01:20:01 momjian Exp $
+ *   $Header: /cvsroot/pgsql/src/backend/utils/adt/Attic/dt.c,v 1.74 1999/07/15 15:20:14 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -30,7 +30,6 @@
 #include 
 #endif
 #include "utils/builtins.h"
-#include "utils/mcxt.h"
 
 static int DecodeDate(char *str, int fmask, int *tmask, struct tm * tm);
 static int DecodeNumber(int flen, char *field,
index be224f1bf799939143b2a211caf746fab01f841b..0b2c0dd250dc629344e77865b03104d9ac23b651 100644 (file)
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *   $Header: /cvsroot/pgsql/src/backend/utils/adt/Attic/filename.c,v 1.18 1999/07/14 01:20:02 momjian Exp $
+ *   $Header: /cvsroot/pgsql/src/backend/utils/adt/Attic/filename.c,v 1.19 1999/07/15 15:20:15 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -21,7 +21,6 @@
 #include "postgres.h"
 #include 
 #include "utils/builtins.h"        /* where function declarations go */
-#include "utils/mcxt.h"
 
 char *
 filename_in(char *file)
index 6b4eb7af6101d802f089248db377b4574da7c626..daf830e552f11da469a58a603c6f1ac424ac43b2 100644 (file)
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *   $Header: /cvsroot/pgsql/src/backend/utils/adt/float.c,v 1.44 1999/07/14 01:20:03 momjian Exp $
+ *   $Header: /cvsroot/pgsql/src/backend/utils/adt/float.c,v 1.45 1999/07/15 15:20:16 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -61,8 +61,6 @@
 #endif
 #include "fmgr.h"
 #include "utils/builtins.h"        /* for ftod() prototype */
-#include "utils/palloc.h"
-#include "utils/mcxt.h"
 
 #ifndef NAN
 #define NAN        (0.0/0.0)
index 1b3fc643e10fb1c6df3d9022f5a1ab07d03636d9..743a823c2a81c39b4ad17fe45ff3ffcfb8050e06 100644 (file)
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *   $Header: /cvsroot/pgsql/src/backend/utils/adt/geo_ops.c,v 1.42 1999/07/14 01:20:03 momjian Exp $
+ *   $Header: /cvsroot/pgsql/src/backend/utils/adt/geo_ops.c,v 1.43 1999/07/15 15:20:16 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -22,8 +22,6 @@
 #include "postgres.h"
 
 #include "utils/geo_decls.h"
-#include "utils/palloc.h"
-#include "utils/mcxt.h"
 
 #ifndef PI
 #define PI 3.1415926536
index 083f3e2e409181d8d9cc30995418158c8f08f281..4a246d705f97262a7e085537753f4f21614e3289 100644 (file)
@@ -8,7 +8,7 @@
  *
  *
  * IDENTIFICATION
- *   $Header: /cvsroot/pgsql/src/backend/utils/adt/geo_selfuncs.c,v 1.9 1999/07/14 01:20:04 momjian Exp $
+ *   $Header: /cvsroot/pgsql/src/backend/utils/adt/geo_selfuncs.c,v 1.10 1999/07/15 15:20:17 momjian Exp $
  *
  *     XXX These are totally bogus.
  *
@@ -18,9 +18,7 @@
 
 #include "access/attnum.h"
 #include "utils/geo_decls.h"   /* where function declarations go */
-#include "utils/palloc.h"
 #include "utils/builtins.h"
-#include "utils/mcxt.h"
 
 float64
 areasel(Oid opid,
index d66f9240bd125d713384250c152b0b380a7ae9f9..f26dc35a8ac5f6fce1b3943bc5f350ab980bb0a6 100644 (file)
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *   $Header: /cvsroot/pgsql/src/backend/utils/adt/int.c,v 1.22 1999/07/14 01:20:05 momjian Exp $
+ *   $Header: /cvsroot/pgsql/src/backend/utils/adt/int.c,v 1.23 1999/07/15 15:20:17 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -37,7 +37,6 @@
 #include "postgres.h"
 #include "fmgr.h"
 #include "utils/builtins.h"        /* where the declarations go */
-#include "utils/mcxt.h"
 
 #ifndef SHRT_MAX
 #define SHRT_MAX (0x7FFF)
index d8170dcd2e6dcc1ca5c6e2f996def0e00c620d3b..6b2be8a5a02ee25b9b8cda89dab8002d213cf56d 100644 (file)
@@ -15,9 +15,7 @@
 #include 
 
 #include "postgres.h"
-#include "utils/palloc.h"
 #include "utils/int8.h"
-#include "utils/mcxt.h"
 
 #define MAXINT8LEN     25
 
index 7586b6376994086ec9aead4c77f49e13554ec581..09925bb83024825c9dd5a2f1401331018ba42d94 100644 (file)
  */
 #include 
 #include "postgres.h"          /* postgres system include file */
-#include "utils/palloc.h"
 #include "utils/builtins.h"        /* where the function declarations go */
 #include "mb/pg_wchar.h"
-#include "utils/mcxt.h"
 
 static int like(pg_wchar * text, pg_wchar * p);
 
@@ -112,7 +110,7 @@ textnlike(struct varlena * s, struct varlena * p)
 }
 
 
-/* $Revision: 1.26 $
+/* $Revision: 1.27 $
 ** "like.c" A first attempt at a LIKE operator for Postgres95.
 **
 ** Originally written by Rich $alz, mirror!rs, Wed Nov 26 19:03:17 EST 1986.
index 96588d9711332fd6f5b7ee3ca5a49b2fd87ee98f..03a7a4e47904c18f039ea167875b6ac76c13b328 100644 (file)
@@ -1,17 +1,15 @@
 /*
  * PostgreSQL type definitions for MAC addresses.
  *
- * $Id: mac.c,v 1.9 1999/07/14 01:20:05 momjian Exp $
+ * $Id: mac.c,v 1.10 1999/07/15 15:20:18 momjian Exp $
  */
 
 #include 
 #include 
 
 #include 
-#include 
 #include 
 #include 
-#include "utils/mcxt.h"
 
 manufacturer manufacturers[] = {
    {0x00, 0x00, 0x0C, "Cisco"},
index 4af6f1216cbfa9270ad0428b04612f72294470bb..304e91d206036eb7308c3af04acb94b8bc01ec58 100644 (file)
@@ -4,7 +4,7 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- *   $Id: nabstime.c,v 1.56 1999/07/14 01:20:05 momjian Exp $
+ *   $Id: nabstime.c,v 1.57 1999/07/15 15:20:18 momjian Exp $
  *
  */
 #include 
@@ -25,7 +25,6 @@
 #endif
 #include "utils/builtins.h"
 #include "access/xact.h"
-#include "utils/mcxt.h"
 
 static AbsoluteTime tm2abstime(struct tm * tm, int tz);
 
index c0b403099a36b63af473597d697e814158c3aebb..e04ad84cc6262deb5c8d736e5100d70ba80920fc 100644 (file)
  *
  *
  * IDENTIFICATION
- *   $Header: /cvsroot/pgsql/src/backend/utils/adt/name.c,v 1.19 1999/07/14 01:20:06 momjian Exp $
+ *   $Header: /cvsroot/pgsql/src/backend/utils/adt/name.c,v 1.20 1999/07/15 15:20:18 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
 #include 
 #include "postgres.h"
 #include "utils/builtins.h"        /* where the declarations go */
-#include "utils/palloc.h"      /* where the declarations go */
-#include "utils/mcxt.h"
 
 /*****************************************************************************
  *  USER I/O ROUTINES (none)                                                *
index 0bbc185f906eeeefbbcfa77643417f331b9ef357..1b56dfa4cb07f7b50e803ad9bee1372224256352 100644 (file)
@@ -3,7 +3,7 @@
  * is for IP V4 CIDR notation, but prepared for V6: just
  * add the necessary bits where the comments indicate.
  *
- * $Id: network.c,v 1.11 1999/07/14 01:20:06 momjian Exp $
+ * $Id: network.c,v 1.12 1999/07/15 15:20:18 momjian Exp $
  * Jon Postel RIP 16 Oct 1998
  */
 
 #include 
 
 #include 
-#include 
 #include 
 #include 
-#include "utils/mcxt.h"
 
 static int v4bitncmp(unsigned int a1, unsigned int a2, int bits);
 
index e1063adf67112ed2f827c04ab52a846c829256ed..cfe6beaff76698686cde240f3c3857932f38912f 100644 (file)
@@ -5,7 +5,7 @@
  *
  * 1998 Jan Wieck
  *
- * $Header: /cvsroot/pgsql/src/backend/utils/adt/numeric.c,v 1.17 1999/07/14 01:20:06 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/utils/adt/numeric.c,v 1.18 1999/07/15 15:20:18 momjian Exp $
  *
  * ----------
  */
@@ -21,9 +21,7 @@
 
 #include "postgres.h"
 #include "utils/builtins.h"
-#include "utils/palloc.h"
 #include "utils/numeric.h"
-#include "utils/mcxt.h"
 
 /* ----------
  * Uncomment the following to enable compilation of dump_numeric()
index 3ddc4534ec74750ce7c62a40aca51876944d5174..ec55bcd451d8541db3cb24fe15b4a36837070d82 100644 (file)
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *   $Header: /cvsroot/pgsql/src/backend/utils/adt/oid.c,v 1.24 1999/07/14 01:20:06 momjian Exp $
+ *   $Header: /cvsroot/pgsql/src/backend/utils/adt/oid.c,v 1.25 1999/07/15 15:20:19 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -17,7 +17,6 @@
 
 #include "postgres.h"
 #include "utils/builtins.h"        /* where function declarations go */
-#include "utils/mcxt.h"
 
 /*****************************************************************************
  *  USER I/O ROUTINES                                                       *
index 205477ce477ce27995ca47db8f2d090bb6c5bc2b..50be811b22c8eabdd363c797cc50c98bf9756a19 100644 (file)
@@ -1,14 +1,13 @@
 /*
  * Edmund Mergl 
  *
- * $Id: oracle_compat.c,v 1.19 1999/07/14 01:20:06 momjian Exp $
+ * $Id: oracle_compat.c,v 1.20 1999/07/15 15:20:19 momjian Exp $
  *
  */
 
 
 #include 
 #include "postgres.h"
-#include "utils/mcxt.h"
 
 text      *lower(text *string);
 text      *upper(text *string);
index daf8cb1e69ea57820cf5eb5c1043598e7775992f..c53b5350119dab8ca750a22465b369825cb7953d 100644 (file)
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *   $Header: /cvsroot/pgsql/src/backend/utils/adt/regexp.c,v 1.23 1999/07/14 01:20:07 momjian Exp $
+ *   $Header: /cvsroot/pgsql/src/backend/utils/adt/regexp.c,v 1.24 1999/07/15 15:20:19 momjian Exp $
  *
  *     Alistair Crooks added the code for the regex caching
  *     agc - cached the regular expressions used - there's a good chance
@@ -33,7 +33,6 @@
 #include 
 
 #include "utils/builtins.h"        /* where the function declarations go */
-#include "utils/mcxt.h"
 
 #if defined(DISABLE_XOPEN_NLS)
 #undef _XOPEN_SOURCE
index 1db8ddcc057106567068981e8a74e5d4aa88c5bb..3a2a03236426946d801d7fec1a056bffc9b4ea28 100644 (file)
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *   $Header: /cvsroot/pgsql/src/backend/utils/adt/regproc.c,v 1.37 1999/05/25 16:12:17 momjian Exp $
+ *   $Header: /cvsroot/pgsql/src/backend/utils/adt/regproc.c,v 1.38 1999/07/15 15:20:19 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -20,7 +20,6 @@
 #include "access/relscan.h"
 #include "storage/bufmgr.h"
 #include "fmgr.h"
-#include "utils/palloc.h"
 #include "utils/syscache.h"
 
 #include "catalog/catname.h"
index 6df5fb04ad7cb042884c8ab780feb60e1d0f8191..928705ef22edd662e8c92ae7bbdda6db0a01af9e 100644 (file)
@@ -3,7 +3,7 @@
  *           out of it's tuple
  *
  * IDENTIFICATION
- *   $Header: /cvsroot/pgsql/src/backend/utils/adt/ruleutils.c,v 1.18 1999/06/02 11:52:28 wieck Exp $
+ *   $Header: /cvsroot/pgsql/src/backend/utils/adt/ruleutils.c,v 1.19 1999/07/15 15:20:19 momjian Exp $
  *
  *   This software is copyrighted by Jan Wieck - Hamburg.
  *
@@ -44,7 +44,6 @@
 
 #include "executor/spi.h"
 #include "commands/trigger.h"
-#include "utils/elog.h"
 #include "utils/builtins.h"
 #include "nodes/nodes.h"
 #include "optimizer/clauses.h"
index fe11c77b193c77ab187ace7bea712b6aa4d7b24b..359267653b91f3f78765691a3df361f4a97abb5c 100644 (file)
@@ -12,7 +12,7 @@
  *
  *
  * IDENTIFICATION
- *   $Header: /cvsroot/pgsql/src/backend/utils/adt/selfuncs.c,v 1.30 1999/06/19 00:44:44 tgl Exp $
+ *   $Header: /cvsroot/pgsql/src/backend/utils/adt/selfuncs.c,v 1.31 1999/07/15 15:20:19 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -25,7 +25,6 @@
 #include "fmgr.h"
 #include "utils/builtins.h"        /* for textout() prototype and where the
                                 * declarations go */
-#include "utils/palloc.h"
 
 #include "catalog/catname.h"
 #include "utils/syscache.h"
index 60c368502bed0bc1a686982740ebb287473b9729..5a9bae512e8e64d9b686a04716dd2d61532613a8 100644 (file)
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *   $Header: /cvsroot/pgsql/src/backend/utils/adt/tid.c,v 1.7 1999/07/14 01:20:07 momjian Exp $
+ *   $Header: /cvsroot/pgsql/src/backend/utils/adt/tid.c,v 1.8 1999/07/15 15:20:20 momjian Exp $
  *
  * NOTES
  *   input routine largely stolen from boxin().
@@ -19,9 +19,7 @@
 #include "postgres.h"
 #include "storage/bufpage.h"
 
-#include "utils/palloc.h"
 #include "utils/builtins.h"        /* where function declarations go */
-#include "utils/mcxt.h"
 
 #define LDELIM         '('
 #define RDELIM         ')'
index 6e1da178da6ec8163923d810d65ff761b3639955..3c67ab854e2cac7d40e4ec20ea1fd806fecf3ccb 100644 (file)
@@ -6,7 +6,6 @@
 #include "miscadmin.h"
 #include "utils/builtins.h"
 #include "access/xact.h"
-#include "utils/mcxt.h"
 
 time_t
 timestamp_in(const char *timestamp_str)
index d7bb2738cb8f91dc0adb062e2d61cb9a5bb97d33..868412f46f8af74fd88ac7b5c64d1f7297c858c9 100644 (file)
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *   $Header: /cvsroot/pgsql/src/backend/utils/adt/varchar.c,v 1.48 1999/07/04 04:56:00 momjian Exp $
+ *   $Header: /cvsroot/pgsql/src/backend/utils/adt/varchar.c,v 1.49 1999/07/15 15:20:20 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
 #include "utils/array.h"
 #include "utils/builtins.h"
 #include "catalog/pg_type.h"
+#include "storage/bufpage.h"
+#include "utils/memutils.h"
 
 #ifdef CYR_RECODE
 char      *convertstr(char *, int, int);
-
 #endif
 
 #include "mb/pg_wchar.h"
index e31d5f4d3df414597ea8cc2695f1c95eb17e1a03..61b07f97feaea79be15b3118de419b189dd5b2b7 100644 (file)
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *   $Header: /cvsroot/pgsql/src/backend/utils/adt/varlena.c,v 1.49 1999/07/14 01:20:07 momjian Exp $
+ *   $Header: /cvsroot/pgsql/src/backend/utils/adt/varlena.c,v 1.50 1999/07/15 15:20:20 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -15,9 +15,7 @@
 #include 
 
 #include "postgres.h"
-#include "utils/palloc.h"
 #include "utils/builtins.h"        /* where function declarations go */
-#include "utils/mcxt.h"
 
 #include "mb/pg_wchar.h"
 
index 98e76f78a59ad1a9ebc010383d1f3a8beb47e9b7..a756a2ca9c857e19f8135e2af0a7c3539199f6fe 100644 (file)
@@ -5,7 +5,7 @@
  *
  * IDENTIFICATION
  *
- * $Header: /cvsroot/pgsql/src/backend/utils/adt/version.c,v 1.7 1999/07/14 01:20:08 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/utils/adt/version.c,v 1.8 1999/07/15 15:20:20 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -15,7 +15,6 @@
 #include "postgres.h"
 #include "version.h"
 
-#include "utils/mcxt.h"
 
 text      *version(void);
 
index 8224c935786e5cbc91b6c8a6fa0bf5217ba00ec8..c4044158ea02fc308e4eb819a662ccf9a376b1f7 100644 (file)
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *   $Header: /cvsroot/pgsql/src/backend/utils/cache/catcache.c,v 1.43 1999/06/04 02:19:45 tgl Exp $
+ *   $Header: /cvsroot/pgsql/src/backend/utils/cache/catcache.c,v 1.44 1999/07/15 15:20:21 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -19,9 +19,6 @@
 #include "utils/builtins.h"
 #include "utils/portal.h"
 #include "utils/catcache.h"
-#include "utils/elog.h"
-#include "utils/palloc.h"
-#include "utils/mcxt.h"
 #include "utils/rel.h"
 #include "storage/bufpage.h"
 #include "access/valid.h"
index be59004441883860e87f16944af613ffafd55f86..cb99900ea6a6abbf1338311273f0a911fd505f38 100644 (file)
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *   $Header: /cvsroot/pgsql/src/backend/utils/cache/lsyscache.c,v 1.27 1999/05/29 01:45:21 tgl Exp $
+ *   $Header: /cvsroot/pgsql/src/backend/utils/cache/lsyscache.c,v 1.28 1999/07/15 15:20:22 momjian Exp $
  *
  * NOTES
  *   Eventually, the index information should go through here, too.
@@ -21,8 +21,6 @@
 #include "utils/lsyscache.h"
 #include "access/tupmacs.h"
 #include "utils/rel.h"
-#include "utils/palloc.h"
-#include "utils/elog.h"
 #include "access/attnum.h"
 #include "access/heapam.h"
 
index f8c73b7b22ca95fac77878459eb3b85f844702de..7184f76985e825a218230417c43d22fe629b44df 100644 (file)
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *   $Header: /cvsroot/pgsql/src/backend/utils/cache/relcache.c,v 1.62 1999/05/25 16:12:23 momjian Exp $
+ *   $Header: /cvsroot/pgsql/src/backend/utils/cache/relcache.c,v 1.63 1999/07/15 15:20:23 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -73,7 +73,6 @@
 #include "utils/builtins.h"
 #include "utils/catcache.h"
 #include "utils/hsearch.h"
-#include "utils/mcxt.h"
 #include "utils/memutils.h"
 #include "utils/rel.h"
 #include "utils/relcache.h"
index 6635ac2bd497d5377fb219cb134556a4cd6ce34a..0d817ec012ef2a9ac284bda6f31fca0ae90b6c17 100644 (file)
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *   $Header: /cvsroot/pgsql/src/backend/utils/cache/Attic/temprel.c,v 1.6 1999/07/03 15:43:57 momjian Exp $
+ *   $Header: /cvsroot/pgsql/src/backend/utils/cache/Attic/temprel.c,v 1.7 1999/07/15 15:20:25 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -28,7 +28,6 @@
 #include "postgres.h"
 #include "miscadmin.h"
 #include "nodes/pg_list.h"
-#include "utils/mcxt.h"
 #include "utils/temprel.h"
 #include "access/xact.h"
 #include "access/htup.h"
index 70842f3b5652d100a1a1685ca0b514ae2c123555..c22b8e696c69c00eacc2c8f5e91b243229c0db13 100644 (file)
@@ -7,15 +7,13 @@
  *
  *
  * IDENTIFICATION
- *   $Header: /cvsroot/pgsql/src/backend/utils/error/Attic/excid.c,v 1.6 1999/05/25 16:12:26 momjian Exp $
+ *   $Header: /cvsroot/pgsql/src/backend/utils/error/Attic/excid.c,v 1.7 1999/07/15 15:20:26 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
 
 #include "postgres.h"
 
-#include "utils/excid.h"
-
 /*****************************************************************************
  *  Generic Recoverable Exceptions                                          *
  *****************************************************************************/
index 7d9b79575fd66923bf8f2ae6c163f9745a88fb61..b5cf429e7f1d1acff02b76f31d62c65520645b1a 100644 (file)
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *   $Header: /cvsroot/pgsql/src/backend/utils/fmgr/dfmgr.c,v 1.26 1999/05/25 16:12:27 momjian Exp $
+ *   $Header: /cvsroot/pgsql/src/backend/utils/fmgr/dfmgr.c,v 1.27 1999/07/15 15:20:30 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -21,7 +21,6 @@
 #include "config.h"                /* for MAXPATHLEN */
 #include "fmgr.h"              /* generated by Gen_fmgrtab.sh */
 #include "utils/dynamic_loader.h"
-#include "utils/elog.h"
 #include "utils/builtins.h"
 #include "access/heapam.h"
 #include "nodes/pg_list.h"
index d5b24cf341073923b31c7d4d8dfbdc3f7dcbde31..8658da21a4ee35a2fe88e7665733bbac496cb92b 100644 (file)
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *   $Header: /cvsroot/pgsql/src/backend/utils/fmgr/fmgr.c,v 1.28 1999/05/25 16:12:28 momjian Exp $
+ *   $Header: /cvsroot/pgsql/src/backend/utils/fmgr/fmgr.c,v 1.29 1999/07/15 15:20:30 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -28,7 +28,6 @@
 #include "nodes/params.h"
 
 #include "utils/builtins.h"
-#include "utils/elog.h"
 
 #include "nodes/parsenodes.h"
 #include "commands/trigger.h"
index 28ee6a15dee9bf66fc5acc497b2f1ba57a4715a1..5b00ed9b0f46be911b64023d7a2ea4024fef473a 100644 (file)
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *   $Header: /cvsroot/pgsql/src/backend/utils/hash/dynahash.c,v 1.23 1999/05/31 17:01:52 tgl Exp $
+ *   $Header: /cvsroot/pgsql/src/backend/utils/hash/dynahash.c,v 1.24 1999/07/15 15:20:31 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -46,9 +46,7 @@
 #include      "utils/dynahash.h"
 #include      "utils/hsearch.h"
 #ifndef FRONTEND
-#include      "utils/mcxt.h"
 #endif  /* !FRONTEND */
-#include      "utils/palloc.h"
 #include      "utils/memutils.h"
 
 /*
index 78c5ab10403e3bde99a55f352b06e3fdbe5c2a28..f2ac69fba77940bba37566dd979c828ff5a58897 100644 (file)
@@ -7,12 +7,11 @@
  *
  *
  * IDENTIFICATION
- *   $Header: /cvsroot/pgsql/src/backend/utils/init/Attic/enbl.c,v 1.7 1999/05/25 16:12:33 momjian Exp $
+ *   $Header: /cvsroot/pgsql/src/backend/utils/init/Attic/enbl.c,v 1.8 1999/07/15 15:20:32 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
 #include "postgres.h"
-#include "utils/module.h"      /* where the declarations go */
 
 /*
  * BypassEnable
index 1d4225e582110422fb0951af7e8d88be28d3d5fb..1ef5a00fe45449a7513d8ba3f6fbb09cd415a72b 100644 (file)
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *   $Header: /cvsroot/pgsql/src/backend/utils/init/globals.c,v 1.30 1999/05/25 16:12:34 momjian Exp $
+ *   $Header: /cvsroot/pgsql/src/backend/utils/init/globals.c,v 1.31 1999/07/15 15:20:34 momjian Exp $
  *
  * NOTES
  *   Globals used all over the place should be declared here and not
@@ -31,7 +31,6 @@
 #include "storage/sinval.h"
 #include "storage/sinvaladt.h"
 #include "storage/lmgr.h"
-#include "utils/elog.h"
 #include "libpq/pqcomm.h"
 #include "catalog/catname.h"
 
index 86328bbd56ec75c66d8568a280ae90d2e6177c42..53e98f3211f7ca3014013bba74bab8c7b9a45ce7 100644 (file)
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *   $Header: /cvsroot/pgsql/src/backend/utils/init/miscinit.c,v 1.29 1999/05/25 16:12:35 momjian Exp $
+ *   $Header: /cvsroot/pgsql/src/backend/utils/init/miscinit.c,v 1.30 1999/07/15 15:20:34 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -25,8 +25,6 @@
 
 #include "utils/portal.h"      /* for EnablePortalManager, etc. */
 #include "utils/exc.h"         /* for EnableExceptionHandling, etc. */
-#include "utils/mcxt.h"            /* for EnableMemoryContext, etc. */
-#include "utils/elog.h"
 #include "utils/builtins.h"
 
 #include "miscadmin.h"         /* where the declarations go */
index 0c2711483fb9cf7a078680350a06d56003d17257..6a304ec3d1f1553a5065e2677642ab326e299413 100644 (file)
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *   $Header: /cvsroot/pgsql/src/backend/utils/init/postinit.c,v 1.40 1999/05/25 16:12:36 momjian Exp $
+ *   $Header: /cvsroot/pgsql/src/backend/utils/init/postinit.c,v 1.41 1999/07/15 15:20:34 momjian Exp $
  *
  * NOTES
  *     InitPostgres() is the function called from PostgresMain
@@ -60,9 +60,6 @@
 
 #include "utils/exc.h"         /* for EnableExceptionHandling, etc. */
 #include "fmgr.h"              /* for EnableDynamicFunctionManager, etc. */
-#include "utils/elog.h"
-#include "utils/palloc.h"
-#include "utils/mcxt.h"            /* for EnableMemoryContext, etc. */
 #include "utils/inval.h"
 
 #include "catalog/catname.h"
index e9ea6193492677d859e69b9632c1499cf0bd99ac..607dfcf46a31870f48c7fbd1807cab7180bd5f56 100644 (file)
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *   $Header: /cvsroot/pgsql/src/backend/utils/misc/Attic/database.c,v 1.24 1999/05/25 16:12:47 momjian Exp $
+ *   $Header: /cvsroot/pgsql/src/backend/utils/misc/Attic/database.c,v 1.25 1999/07/15 15:20:34 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -20,6 +20,7 @@
 #include "postgres.h"
 
 #include "access/heapam.h"
+#include "access/transam.h"
 #include "access/xact.h"
 #include "catalog/catname.h"
 #include "catalog/pg_database.h"
index 98cd5b6f1610860d9a5416dd5ae2bc763136d271..8143bc2c3e7a1b59a63e35d5e134d5e1721429c1 100644 (file)
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *   $Header: /cvsroot/pgsql/src/backend/utils/mmgr/mcxt.c,v 1.14 1999/05/25 16:12:53 momjian Exp $
+ *   $Header: /cvsroot/pgsql/src/backend/utils/mmgr/mcxt.c,v 1.15 1999/07/15 15:20:36 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
 #include "nodes/memnodes.h"
 #include "nodes/nodes.h"
 
-#include "utils/mcxt.h"
-#include "utils/elog.h"
 
-#include "utils/palloc.h"
 
 #undef MemoryContextAlloc
 #undef MemoryContextFree
index bf36908973ab000f54f7f7faccbb2448a7d35d6a..4eb27ccbc6f80cde79e15a5866ad2ac61a9b6580 100644 (file)
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *   $Header: /cvsroot/pgsql/src/backend/utils/mmgr/Attic/palloc.c,v 1.12 1999/05/25 16:12:54 momjian Exp $
+ *   $Header: /cvsroot/pgsql/src/backend/utils/mmgr/Attic/palloc.c,v 1.13 1999/07/15 15:20:38 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -16,9 +16,6 @@
 
 #include "postgres.h"
 
-#include "utils/mcxt.h"
-#include "utils/elog.h"
-#include "utils/palloc.h"
 
 #include "nodes/memnodes.h"
 
index 2c800e033c6ca94e213ca690bcc2b19a7129e46e..55512b1c950bf31cae12f01371903a87e0234d9a 100644 (file)
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *   $Header: /cvsroot/pgsql/src/backend/utils/mmgr/portalmem.c,v 1.23 1999/06/19 05:00:29 momjian Exp $
+ *   $Header: /cvsroot/pgsql/src/backend/utils/mmgr/portalmem.c,v 1.24 1999/07/15 15:20:39 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -81,7 +81,6 @@
 #include "lib/hasht.h"
 #include "utils/module.h"
 #include "utils/excid.h"       /* for Unimplemented */
-#include "utils/mcxt.h"
 #include "utils/hsearch.h"
 
 #include "nodes/memnodes.h"
index 104e57b9194b14f8275c3ce68415837fcab001be..b89706638a922b5b025bb29a1047eed5ea36deb3 100644 (file)
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *   $Header: /cvsroot/pgsql/src/backend/utils/time/tqual.c,v 1.29 1999/05/25 16:13:02 momjian Exp $
+ *   $Header: /cvsroot/pgsql/src/backend/utils/time/tqual.c,v 1.30 1999/07/15 15:20:41 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -20,8 +20,6 @@
 #include "access/xact.h"
 #include "storage/bufmgr.h"
 #include "access/transam.h"
-#include "utils/elog.h"
-#include "utils/palloc.h"
 #include "utils/tqual.h"
 
 extern bool PostgresIsInitialized;
index 0353d101c2b7177226036518510f0e59f6d8fb50..f7e4ad21c032e7eac754a4599a04ed7958caa0df 100644 (file)
@@ -21,7 +21,7 @@
  *
  *
  * IDENTIFICATION
- *   $Header: /cvsroot/pgsql/src/bin/pg_dump/pg_dump.c,v 1.115 1999/06/03 04:01:16 tgl Exp $
+ *   $Header: /cvsroot/pgsql/src/bin/pg_dump/pg_dump.c,v 1.116 1999/07/15 15:20:44 momjian Exp $
  *
  * Modifications - 6/10/96 - [email protected] - version 1.13.dhb
  *
@@ -67,6 +67,8 @@
 #include "catalog/pg_language.h"
 #include "catalog/pg_index.h"
 #include "catalog/pg_trigger.h"
+#include "access/attnum.h"
+
 #include "libpq-fe.h"
 #ifndef HAVE_STRDUP
 #include "strdup.h"
index 383877e9adaa52ccd873665277de0588259832af..b1c31b2c66bf15393d5f5af5c6bb94d7ff7965f4 100644 (file)
 #include 
 #include 
 #include 
-#include 
-#include 
-#include 
-#include 
-
-#include 
 
 /*
 ** You can have as many strategies as you please in GiSTs, as
index 4be3b676cabb28138cb70324ec4e1319330b872d..d86036e9e18b1112bfbfb230a314aee6b456c655 100644 (file)
@@ -12,9 +12,6 @@
 #ifndef GISTSCAN_H
 
 #include 
-#include 
-#include 
-#include 
 
 extern IndexScanDesc gistbeginscan(Relation r, bool fromEnd,
              uint16 nkeys, ScanKey key);
index 20ad45863f340cee13c1fba8d6c41415d8559b08..77fc90b1625f8309c338c327dd9c85558bf5ecce 100644 (file)
@@ -12,7 +12,6 @@
 #ifndef GISTSTRAT_H
 #define GISTSTRAT_H
 
-#include 
 #include 
 
 extern StrategyNumber RelationGetGISTStrategy(Relation r,
index 685acee3f59f313dfcb3dfe2b5dfbf1d1b26d57f..1157bf355a9f83cdd6a3073e1ecd841844e6fec0 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: hash.h,v 1.24 1999/05/25 22:42:30 momjian Exp $
+ * $Id: hash.h,v 1.25 1999/07/15 15:20:53 momjian Exp $
  *
  * NOTES
  *     modeled after Margo Seltzer's hash implementation for unix.
@@ -18,7 +18,6 @@
 
 #include 
 #include 
-#include 
 #include 
 #include 
 #include 
index 17f5f2aede6b7a02de17b9a2c0ed97250609c08d..1071fa6d9cf2e0cb0532e7e2a9e41bca537d8c57 100644 (file)
@@ -6,20 +6,20 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: heapam.h,v 1.43 1999/07/10 22:06:26 tgl Exp $
+ * $Id: heapam.h,v 1.44 1999/07/15 15:20:53 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
 #ifndef HEAPAM_H
 #define HEAPAM_H
 
+#include 
 #include "access/tupmacs.h"
 #include "access/htup.h"
 #include "access/relscan.h"
 #include "storage/block.h"
 #include "utils/rel.h"
 #include "utils/tqual.h"
-#include 
 
 /* ----------------------------------------------------------------
  *             heap access method statistics
index bf5164b5e895074117031912c47359877a561ae1..d94d959b7a1d07721db7d2d108de587c5c181ce4 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: hio.h,v 1.11 1999/05/25 16:13:29 momjian Exp $
+ * $Id: hio.h,v 1.12 1999/07/15 15:20:54 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -14,8 +14,6 @@
 #define HIO_H
 
 #include 
-#include 
-
 
 extern void RelationPutHeapTuple(Relation relation, Buffer buffer,
                     HeapTuple tuple);
index 3901e5f10fee41ad956183a95ab1b68187c75130..507a17907fce3ccd1cc57503bd215a94a850ab04 100644 (file)
@@ -1,4 +1,4 @@
-/*-------------------------------------------------------------------------
+ /*-------------------------------------------------------------------------
  *
  * htup.h
  *   POSTGRES heap tuple definitions.
@@ -6,17 +6,14 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: htup.h,v 1.22 1999/07/12 13:32:38 momjian Exp $
+ * $Id: htup.h,v 1.23 1999/07/15 15:20:54 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
 #ifndef HTUP_H
 #define HTUP_H
 
-#include 
 #include 
-#include 
-#include 
 
 #define MinHeapTupleBitmapSize 32      /* 8 * 4 */
 
index 6f4512915875ad84a50f600e6d707b7fcf056e91..90ed45926af0d2666805035f24fbaff13b157c66 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: istrat.h,v 1.13 1999/05/25 16:13:32 momjian Exp $
+ * $Id: istrat.h,v 1.14 1999/07/15 15:20:54 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -14,7 +14,6 @@
 #define ISTRAT_H
 
 #include 
-#include 
 
 /*
  * StrategyNumberIsValid
index 85fc975e71e15d22768030539ef292f8c0ad5d1c..f89211029c0f071159734043ca889c499f510f54 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: itup.h,v 1.17 1999/02/13 23:20:55 momjian Exp $
+ * $Id: itup.h,v 1.18 1999/07/15 15:20:54 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -17,7 +17,6 @@
 #include 
 #include 
 #include 
-#include 
 
 #define MaxIndexAttributeNumber 7
 
index b4993ca3d2293c873f7c38918d3015e85d7103c3..9618e5fb7256b04baf7286a740cf82b811a6f0e4 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: nbtree.h,v 1.27 1999/05/25 22:04:55 momjian Exp $
+ * $Id: nbtree.h,v 1.28 1999/07/15 15:20:55 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
 
 #include 
 #include 
-#include 
-#include 
 #include 
 #include 
-#include         /* don't remove, required by
-                                * BT_READ/BT_WRITE */
-#include 
 
 /*
  * BTPageOpaqueData -- At the end of every page, we store a pointer
index 4481c575e611137cef184962e08f55977de61285..fe8b03f40c1f7f1c13c703d82bf31423bd7163b8 100644 (file)
@@ -6,16 +6,13 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: relscan.h,v 1.15 1999/05/25 16:13:33 momjian Exp $
+ * $Id: relscan.h,v 1.16 1999/07/15 15:20:55 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
 #ifndef RELSCAN_H
 #define RELSCAN_H
 
-#include 
-#include 
-#include 
 #include 
 
 typedef ItemPointerData MarkData;
index 0cc2381b7dce1bc60bf35ab5f5a0f3fa12b00e02..d5d105ec3f666c4e274c8f4cf020374c1b6afaa1 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: rtree.h,v 1.14 1999/02/13 23:20:57 momjian Exp $
+ * $Id: rtree.h,v 1.15 1999/07/15 15:20:55 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
 #include 
 #include 
 #include 
-#include 
-#include 
-#include 
-#include 
 
 /* see rtstrat.c for what all this is about */
 #define RTNStrategies                  8
index 31b77bba2bc27a786cbdda406e7bf6fb6dadd30c..fb3e090b6c6a5b73528d196ec99f6755bebd0476 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: rtstrat.h,v 1.9 1999/02/13 23:20:58 momjian Exp $
+ * $Id: rtstrat.h,v 1.10 1999/07/15 15:20:55 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -14,7 +14,6 @@
 #define RTSTRAT_H
 
 #include 
-#include 
 
 extern RegProcedure RTMapOperator(Relation r, AttrNumber attnum,
              RegProcedure proc);
index 3f2d6e8d9624a10279f33eed0b89d971e1737201..baaf4bd0ac05504adb5e02c5578f367374adb41d 100644 (file)
@@ -6,13 +6,15 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: tupmacs.h,v 1.10 1999/05/25 16:13:36 momjian Exp $
+ * $Id: tupmacs.h,v 1.11 1999/07/15 15:20:56 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
 #ifndef TUPMACS_H
 #define TUPMACS_H
 
+#include "utils/memutils.h"
+
 /*
  * check to see if the ATT'th bit of an array of 8-bit bytes is set.
  */
index a855806c19333e460ee7c4b6982796448bae2b60..9f155200e2516a62b35e8b86d5c53d028c51a4b8 100644 (file)
@@ -6,15 +6,15 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: xact.h,v 1.20 1999/02/13 23:21:00 momjian Exp $
+ * $Id: xact.h,v 1.21 1999/07/15 15:20:56 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
 #ifndef XACT_H
 #define XACT_H
 
-#include 
 #include 
+#include 
 
 /* ----------------
  *     transaction state structure
index 95cdf8845f551866d00e7e13f85b81e05e911341..a43ffae1ddc5a972273449f685f6e2568dd77090 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: index.h,v 1.16 1999/05/25 16:13:40 momjian Exp $
+ * $Id: index.h,v 1.17 1999/07/15 15:20:58 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -14,9 +14,7 @@
 #define INDEX_H
 
 #include 
-#include 
 #include 
-#include 
 
 extern Form_pg_am AccessMethodObjectIdGetForm(Oid accessMethodObjectId);
 
index f694b43a7592908bbe4abefb4ccdb2bcacd801d3..2ff93f65744b4b7c0bb5c5adc448ee3a9d92a8ec 100644 (file)
@@ -7,7 +7,7 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: indexing.h,v 1.19 1999/02/13 23:21:03 momjian Exp $
+ * $Id: indexing.h,v 1.20 1999/07/15 15:20:59 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -15,7 +15,6 @@
 #define INDEXING_H
 
 #include 
-#include 
 
 /*
  * Some definitions for indices on pg_attribute
index 61f40cbff3c859c380d3b47666c19fcf6cee3e5d..bad0e1513d448b1f9799b58615a91968204fa60f 100644 (file)
@@ -6,14 +6,16 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: dbcommands.h,v 1.9 1999/07/14 01:20:12 momjian Exp $
+ * $Id: dbcommands.h,v 1.10 1999/07/15 15:21:01 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
 #ifndef DBCOMMANDS_H
 #define DBCOMMANDS_H
 
+#include 
 #include "tcop/dest.h"
+
 /*
  * Originally from tmp/daemon.h. The functions declared in daemon.h does not
  * exist; hence removed.       -- AY 7/29/94
index 89e13188ea94eade39f50eedb38b0be29b885141..9b7fff0b249cec5a4ce08bf5c46444dd631049a7 100644 (file)
@@ -9,11 +9,8 @@
 #ifndef TRIGGER_H
 #define TRIGGER_H
 
-#include "access/tupdesc.h"
-#include "access/htup.h"
 #include "nodes/parsenodes.h"
 #include "nodes/execnodes.h"
-#include "utils/rel.h"
 
 typedef uint32 TriggerEvent;
 
index b456003f001bfe60c308052522f04b224058a3c6..59a72bbb15b949228ed7b059964f61f419a44027 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: vacuum.h,v 1.21 1999/07/14 01:20:15 momjian Exp $
+ * $Id: vacuum.h,v 1.22 1999/07/15 15:21:03 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -18,9 +18,7 @@
 #include "catalog/pg_index.h"
 #include "catalog/pg_attribute.h"
 #include "nodes/pg_list.h"
-#include "storage/block.h"
 #include "storage/itemptr.h"
-#include "storage/off.h"
 
 
 typedef struct VAttListData
index be72695412a038e3536931c00fd283f1d8b94d30..e7df6135d0c3bba96a617dbdbf96e375ebe7c819 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: execFlatten.h,v 1.8 1999/02/13 23:21:22 momjian Exp $
+ * $Id: execFlatten.h,v 1.9 1999/07/15 15:21:04 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -15,7 +15,6 @@
 
 #include "nodes/relation.h"
 #include "nodes/execnodes.h"
-#include "nodes/parsenodes.h"
 
 extern Datum ExecEvalIter(Iter *iterNode, ExprContext *econtext, bool *resultIsNull, bool *iterIsDone);
 
index 14aacc8bd3ab28b4b4868f0e9cc02f60bc7f97d3..cd67bd3f32afe403065868b30b28be4dab36413f 100644 (file)
@@ -6,13 +6,15 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: execdebug.h,v 1.9 1999/07/14 01:20:16 momjian Exp $
+ * $Id: execdebug.h,v 1.10 1999/07/15 15:21:06 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
 #ifndef EXECDEBUG_H
 #define EXECDEBUG_H
 
+#include 
+
 /* ----------------------------------------------------------------
  *     debugging defines.
  *
index 43c1eb53cfcfe81a23c9a9221ee3b56b0e608210..e979441a15b84e1d3233024c6ab7ef9aabaa6b76 100644 (file)
@@ -6,16 +6,13 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: executor.h,v 1.34 1999/06/17 15:15:53 momjian Exp $
+ * $Id: executor.h,v 1.35 1999/07/15 15:21:06 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
 #ifndef EXECUTOR_H
 #define EXECUTOR_H
 
-#include 
-#include 
-#include 
 #include 
 #include 
 
index 48a3d63fe3d5d814b8c3b8373863969ea6b0f556..4cc3a471c7e44b49833a564f80cf16867e87882a 100644 (file)
@@ -6,16 +6,14 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: functions.h,v 1.9 1999/02/13 23:21:24 momjian Exp $
+ * $Id: functions.h,v 1.10 1999/07/15 15:21:07 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
 #ifndef FUNCTIONS_H
 #define FUNCTIONS_H
 
-#include "access/tupdesc.h"
 #include "nodes/parsenodes.h"
-#include "nodes/primnodes.h"
 #include "utils/syscache.h"
 
 extern Datum ProjectAttribute(TupleDesc TD, TargetEntry *tlist,
index e98c99d99fbb63919eda3938b5d843913faf3e18..724a7ddd313f3854a4e7ecc1440415b6a2efc2a3 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: hashjoin.h,v 1.13 1999/05/25 22:42:45 momjian Exp $
+ * $Id: hashjoin.h,v 1.14 1999/07/15 15:21:08 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -14,8 +14,6 @@
 #define HASHJOIN_H
 
 #include "access/htup.h"
-#include "storage/fd.h"
-#include "utils/mcxt.h"
 
 /* ----------------------------------------------------------------
  *             hash-join hash table structures
index 5462f31c64dc7b09b32fe8bd9fe07677c94078a1..7ee15e474860b369cf58f630656e2788d7276acb 100644 (file)
@@ -6,15 +6,13 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: nodeAgg.h,v 1.9 1999/02/13 23:21:24 momjian Exp $
+ * $Id: nodeAgg.h,v 1.10 1999/07/15 15:21:09 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
 #ifndef NODEAGG_H
 #define NODEAGG_H
 
-#include "executor/tuptable.h"
-#include "nodes/execnodes.h"
 #include "nodes/plannodes.h"
 
 extern TupleTableSlot *ExecAgg(Agg *node);
index 6bc60806544fb578b473a6d7877d81386dbd91d9..34212d22df13c1fcf118eb4d6a860f34a69f6179 100644 (file)
@@ -6,15 +6,13 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: nodeAppend.h,v 1.10 1999/02/13 23:21:25 momjian Exp $
+ * $Id: nodeAppend.h,v 1.11 1999/07/15 15:21:10 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
 #ifndef NODEAPPEND_H
 #define NODEAPPEND_H
 
-#include "executor/tuptable.h"
-#include "nodes/execnodes.h"
 #include "nodes/plannodes.h"
 
 extern bool ExecInitAppend(Append *node, EState *estate, Plan *parent);
index 9be307b2a239f4b8e02d54740abdf1f12ec30966..ee740efcd802a907dfa83970d5b45b275a37eac2 100644 (file)
@@ -6,15 +6,13 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: nodeGroup.h,v 1.11 1999/07/13 21:17:37 momjian Exp $
+ * $Id: nodeGroup.h,v 1.12 1999/07/15 15:21:11 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
 #ifndef NODEGROUP_H
 #define NODEGROUP_H
 
-#include "executor/tuptable.h"
-#include "nodes/execnodes.h"
 #include "nodes/plannodes.h"
 
 extern TupleTableSlot *ExecGroup(Group *node);
index 4544d6416e369c2621b0c4eb7e4bde8fc29fc086..605ab0b126b5dfcc022dc84600725f343f1241ae 100644 (file)
@@ -6,19 +6,14 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: nodeHash.h,v 1.13 1999/05/25 16:13:55 momjian Exp $
+ * $Id: nodeHash.h,v 1.14 1999/07/15 15:21:11 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
 #ifndef NODEHASH_H
 #define NODEHASH_H
 
-#include "executor/hashjoin.h"
-#include "executor/tuptable.h"
-#include "nodes/execnodes.h"
-#include "nodes/pg_list.h"
 #include "nodes/plannodes.h"
-#include "utils/syscache.h"
 
 extern TupleTableSlot *ExecHash(Hash *node);
 extern bool ExecInitHash(Hash *node, EState *estate, Plan *parent);
index 336e9b4d1f6ee6e0b4c59cc5ae4a9507d9cda30e..2061ac7bdcaf78310627ade614dc4b614b8100db 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: nodeHashjoin.h,v 1.14 1999/05/25 22:42:46 momjian Exp $
+ * $Id: nodeHashjoin.h,v 1.15 1999/07/15 15:21:12 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -14,8 +14,6 @@
 #define NODEHASHJOIN_H
 
 #include "nodes/plannodes.h"
-#include "nodes/execnodes.h"
-#include "utils/syscache.h"
 
 extern TupleTableSlot *ExecHashJoin(HashJoin *node);
 extern bool ExecInitHashJoin(HashJoin *node, EState *estate, Plan *parent);
index 2d959a8ca841f8e799c3dc6acaac0cc764883f0b..d8b284f8d53aabdcaca6e2a63de8049346e5aa93 100644 (file)
@@ -6,15 +6,13 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: nodeIndexscan.h,v 1.8 1999/02/13 23:21:26 momjian Exp $
+ * $Id: nodeIndexscan.h,v 1.9 1999/07/15 15:21:12 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
 #ifndef NODEINDEXSCAN_H
 #define NODEINDEXSCAN_H
 
-#include "executor/tuptable.h"
-#include "nodes/execnodes.h"
 #include "nodes/plannodes.h"
 
 extern TupleTableSlot *ExecIndexScan(IndexScan *node);
index fddc4d1edbe12ad5987ce4f9e90c26f8ab523532..f10b252c1cd4de8c67ba1d9022f0628cf2bf861d 100644 (file)
@@ -6,15 +6,13 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: nodeMaterial.h,v 1.10 1999/02/21 03:49:44 scrappy Exp $
+ * $Id: nodeMaterial.h,v 1.11 1999/07/15 15:21:13 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
 #ifndef NODEMATERIAL_H
 #define NODEMATERIAL_H
 
-#include "executor/tuptable.h"
-#include "nodes/execnodes.h"
 #include "nodes/plannodes.h"
 
 extern TupleTableSlot *ExecMaterial(Material *node);
index 779408df65ea9d7a5fad857848449ed9727d93ab..27078d5a39c7466551921b8db436401b0a6df30c 100644 (file)
@@ -6,15 +6,13 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: nodeMergejoin.h,v 1.10 1999/02/13 23:21:26 momjian Exp $
+ * $Id: nodeMergejoin.h,v 1.11 1999/07/15 15:21:13 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
 #ifndef NODEMERGEJOIN_H
 #define NODEMERGEJOIN_H
 
-#include "executor/tuptable.h"
-#include "nodes/execnodes.h"
 #include "nodes/plannodes.h"
 
 extern TupleTableSlot *ExecMergeJoin(MergeJoin *node);
index 7a701896725664be09fc496240a56e18b683b0a7..f0a11d01008bc25ac137b74e15f401b7879e1db5 100644 (file)
@@ -6,15 +6,13 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: nodeNestloop.h,v 1.10 1999/05/25 16:13:56 momjian Exp $
+ * $Id: nodeNestloop.h,v 1.11 1999/07/15 15:21:13 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
 #ifndef NODENESTLOOP_H
 #define NODENESTLOOP_H
 
-#include "executor/tuptable.h"
-#include "nodes/execnodes.h"
 #include "nodes/plannodes.h"
 
 extern TupleTableSlot *ExecNestLoop(NestLoop *node, Plan *parent);
index c5ad4ea715ccd04088dbc38e7424baae5fb34a3e..506e6e580d39ae303c24d6fc988c713b1d47e163 100644 (file)
@@ -6,15 +6,13 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: nodeResult.h,v 1.8 1999/02/13 23:21:27 momjian Exp $
+ * $Id: nodeResult.h,v 1.9 1999/07/15 15:21:14 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
 #ifndef NODERESULT_H
 #define NODERESULT_H
 
-#include "executor/tuptable.h"
-#include "nodes/execnodes.h"
 #include "nodes/plannodes.h"
 
 extern TupleTableSlot *ExecResult(Result *node);
index d858678471616fe43e6f3f06ba687f9d7b97af6c..a2358c4aa61aaf40b6086074ab990136b5034a86 100644 (file)
@@ -6,15 +6,13 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: nodeSeqscan.h,v 1.8 1999/02/13 23:21:28 momjian Exp $
+ * $Id: nodeSeqscan.h,v 1.9 1999/07/15 15:21:14 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
 #ifndef NODESEQSCAN_H
 #define NODESEQSCAN_H
 
-#include "executor/tuptable.h"
-#include "nodes/execnodes.h"
 #include "nodes/plannodes.h"
 
 extern TupleTableSlot *ExecSeqScan(SeqScan *node);
index 590f49dfd28dfd3b627ccf44ab562fb4df82cf02..a8c8f99c62efd1af88ce4a4eb565165f905df5bf 100644 (file)
@@ -6,15 +6,13 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: nodeSort.h,v 1.8 1999/02/13 23:21:28 momjian Exp $
+ * $Id: nodeSort.h,v 1.9 1999/07/15 15:21:14 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
 #ifndef NODESORT_H
 #define NODESORT_H
 
-#include "executor/tuptable.h"
-#include "nodes/execnodes.h"
 #include "nodes/plannodes.h"
 
 extern TupleTableSlot *ExecSort(Sort *node);
index b74fbc00af88876446066c7a3228a7d41927ae19..98251c24872ef50d8c5a8e02fd6a0ab2afebe01f 100644 (file)
@@ -7,8 +7,6 @@
 #ifndef NODESUBPLAN_H
 #define NODESUBPLAN_H
 
-#include "executor/tuptable.h"
-#include "nodes/execnodes.h"
 #include "nodes/plannodes.h"
 
 extern Datum ExecSubPlan(SubPlan *node, List *pvar, ExprContext *econtext);
index cece9f3f93609cd94ecac07378d60b4d20d17f2c..f5355b5d32ef67da57c91906a6e6175b2abb44ef 100644 (file)
@@ -6,15 +6,13 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: nodeUnique.h,v 1.8 1999/02/13 23:21:29 momjian Exp $
+ * $Id: nodeUnique.h,v 1.9 1999/07/15 15:21:14 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
 #ifndef NODEUNIQUE_H
 #define NODEUNIQUE_H
 
-#include "executor/tuptable.h"
-#include "nodes/execnodes.h"
 #include "nodes/plannodes.h"
 
 extern TupleTableSlot *ExecUnique(Unique *node);
index ea9bda89b85ccbae6f06192a6ac589b8083135d5..80af87f16a47492bdff76a69dfdd5b6a3d22f12a 100644 (file)
 
 #include 
 #include "postgres.h"
+
+/*
+ * These are not needed by this file, but used by other programs
+ * using SPI
+ */
 #include "nodes/primnodes.h"
 #include "nodes/relation.h"
 #include "nodes/execnodes.h"
 #include "nodes/params.h"
 #include "utils/fcache.h"
 #include "utils/datum.h"
-#include "utils/elog.h"
-#include "utils/palloc.h"
 #include "utils/syscache.h"
-#include "utils/mcxt.h"
 #include "utils/portal.h"
 #include "utils/builtins.h"
 #include "catalog/pg_language.h"
index 3e7988aa09e08d536be5477a84c4382da4da362a..916d7141d28d911995858f75a9c51af72fe59e6f 100644 (file)
@@ -3,7 +3,7 @@
  * spi.c
  *             Server Programming Interface private declarations
  *
- * $Header: /cvsroot/pgsql/src/include/executor/spi_priv.h,v 1.5 1999/07/14 01:20:17 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/include/executor/spi_priv.h,v 1.6 1999/07/15 15:21:14 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -11,8 +11,6 @@
 #define SPI_PRIV_H
 
 #include "executor/spi.h"
-#include "catalog/pg_type.h"
-#include "access/printtup.h"
 
 typedef struct
 {
index de582ba387cb29bf2467e7fcab6a345b41ab4a44..ad6390fa203b6bc912f3040a9291c7d847810f69 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: tuptable.h,v 1.12 1999/05/25 16:13:58 momjian Exp $
+ * $Id: tuptable.h,v 1.13 1999/07/15 15:21:14 momjian Exp $
  *
  * NOTES
  *   The tuple table interface is getting pretty ugly.
@@ -17,8 +17,6 @@
 #ifndef TUPTABLE_H
 #define TUPTABLE_H
 
-#include 
-#include 
 #include 
 
 /* ----------------
index 7eda4e4e5720a57b6d3d410f981d3f5814792882..fe979ebdd56effe2d5bc65b42c7bc92bcd806ed5 100644 (file)
@@ -7,7 +7,7 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: libpq-be.h,v 1.14 1999/02/13 23:21:35 momjian Exp $
+ * $Id: libpq-be.h,v 1.15 1999/07/15 15:21:15 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -17,7 +17,6 @@
 #include 
 #include 
 
-#include "libpq/pqcomm.h"
 #include "libpq/hba.h"
 
 
index d9d1a9552362e988c1f90712ce72f6da5ef985d7..f4086c1137e52c969ee1c35e5101ec482dec6b23 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: libpq.h,v 1.31 1999/07/07 17:17:50 momjian Exp $
+ * $Id: libpq.h,v 1.32 1999/07/15 15:21:15 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -19,7 +19,7 @@
 
 #include "libpq/libpq-be.h"
 #include "tcop/dest.h"
-
+#include "utils/exc.h"
 
 /* ----------------
  * PQArgBlock
index 4daf7179cf5d40c8ea6b5ac0f9d62f65e9d9f0d9..c7289e239036a7874a6ebbd809080466683fe56c 100644 (file)
@@ -5,14 +5,13 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: pqformat.h,v 1.4 1999/05/25 16:14:01 momjian Exp $
+ * $Id: pqformat.h,v 1.5 1999/07/15 15:21:16 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
 #ifndef PQFORMAT_H
 #define PQFORMAT_H
 
-#include "postgres.h"
 #include "lib/stringinfo.h"
 
 #define pq_beginmessage(buf)  initStringInfo(buf)
index 21114d2455dc594a7c858072f50e0a534dcca3fe..ca324c94b12e94d31f2fadb41c6756e66c7dde01 100644 (file)
@@ -6,14 +6,13 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: execnodes.h,v 1.30 1999/05/25 22:42:54 momjian Exp $
+ * $Id: execnodes.h,v 1.31 1999/07/15 15:21:16 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
 #ifndef EXECNODES_H
 #define EXECNODES_H
 
-#include 
 #include 
 #include 
 #include 
index 4cc34024a7c7cac6eb8efdbba272ec0929c99dac..7ea2e7e142017b8194aacd88c600df0b8f9721e6 100644 (file)
@@ -6,16 +6,14 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: makefuncs.h,v 1.18 1999/05/25 16:14:08 momjian Exp $
+ * $Id: makefuncs.h,v 1.19 1999/07/15 15:21:16 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
 #ifndef MAKEFUNC_H
 #define MAKEFUNC_H
 
-#include 
 #include 
-#include 
 
 extern Oper *makeOper(Oid opno,
         Oid opid,
index da59725063aa0868ed3e59b7fdee7e0f83f53809..528924ad41de82d6a80d28ed31ee0371da17389b 100644 (file)
@@ -6,14 +6,13 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: nodeFuncs.h,v 1.8 1999/02/13 23:21:38 momjian Exp $
+ * $Id: nodeFuncs.h,v 1.9 1999/07/15 15:21:17 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
 #ifndef NODEFUNCS_H
 #define NODEFUNCS_H
 
-#include 
 #include 
 
 extern bool single_node(Node *node);
index 8415069f0f6a2850ed6ddc5cd882e846a646c9f7..322987c447cb687b2d702a4d03cae07d9cd31644 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: nodes.h,v 1.49 1999/05/26 12:56:33 momjian Exp $
+ * $Id: nodes.h,v 1.50 1999/07/15 15:21:17 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -262,13 +262,7 @@ typedef struct Node
  */
 extern Node *newNode(Size size, NodeTag tag);
 
-/*
- * nodes/{outfuncs.c,print.c}
- */
-#define nodeDisplay        pprint
-
 extern char *nodeToString(void *obj);
-extern void print(void *obj);
 
 /*
  * nodes/{readfuncs.c,read.c}
index 708394e0e1da544e4f7930e9958a21fdda23a158..8d5292e74073c67cb935b44a26d06d733f28d0aa 100644 (file)
@@ -6,18 +6,20 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: print.h,v 1.10 1999/02/13 23:21:41 momjian Exp $
+ * $Id: print.h,v 1.11 1999/07/15 15:21:18 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
 #ifndef PRINT_H
 #define PRINT_H
 
-#include "nodes/nodes.h"
-#include "nodes/plannodes.h"
 #include "nodes/parsenodes.h"
-#include "nodes/relation.h"
-#include "executor/tuptable.h"
+#include "nodes/plannodes.h"
+
+/*
+ * nodes/{outfuncs.c,print.c}
+ */
+#define nodeDisplay        pprint
 
 extern void print(void *obj);
 extern void pprint(void *obj);
index 5f629dd0e6367b3bdf4999786131d454936376ee..c5d7d3084077e2d31b42790fbb4ca9eb1fff1f62 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: relation.h,v 1.32 1999/05/25 22:43:01 momjian Exp $
+ * $Id: relation.h,v 1.33 1999/07/15 15:21:18 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -14,7 +14,6 @@
 #define RELATION_H
 
 #include 
-#include 
 
 /*
  * Relids
similarity index 93%
rename from src/include/optimizer/xfunc.h
rename to src/include/optimizer/_deadcode/xfunc.h
index 41414dba4dfdc04827859085487cdf2ca291674c..d925be5630f8da9eb94d8a198091c4582ef627a8 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: xfunc.h,v 1.18 1999/05/25 22:43:14 momjian Exp $
+ * $Id: xfunc.h,v 1.1 1999/07/15 15:21:24 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
 
 extern int XfuncMode;          /* defined in tcop/postgres.c */
 
-/* defaults for function attributes used for expensive function calculations */
-#define BYTE_PCT 100
-#define PERBYTE_CPU 0
-#define PERCALL_CPU 0
-#define OUTIN_RATIO 100
-
 /* default width assumed for variable length attributes */
 #define VARLEN_DEFAULT 128;
 
index 3cd74b1e250025588f2aecb524f2a0086111ce42..1416cc25450c65d99535ee96a9a9ac2eeb4f79b6 100644 (file)
@@ -6,14 +6,13 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: clauses.h,v 1.19 1999/06/19 03:41:44 tgl Exp $
+ * $Id: clauses.h,v 1.20 1999/07/15 15:21:19 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
 #ifndef CLAUSES_H
 #define CLAUSES_H
 
-#include 
 #include 
 
 extern Expr *make_clause(int type, Node *oper, List *args);
index e7f8452f246481b63fa3527813f33278ccddc50a..b9fc710370692e76ddc6c7bf4bc965f38e9e0770 100644 (file)
@@ -6,18 +6,21 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: cost.h,v 1.20 1999/05/25 22:43:04 momjian Exp $
+ * $Id: cost.h,v 1.21 1999/07/15 15:21:20 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
 #ifndef COST_H
 #define COST_H
 
-#include "nodes/nodes.h"
-#include "nodes/parsenodes.h"
-#include "nodes/pg_list.h"
 #include "nodes/relation.h"
 
+/* defaults for function attributes used for expensive function calculations */
+#define BYTE_PCT 100
+#define PERBYTE_CPU 0
+#define PERCALL_CPU 0
+#define OUTIN_RATIO 100
+
 /*
  * prototypes for costsize.c
  *   routines to compute costs and sizes
index f02510e21e979331318911fac8a521bfa5960ceb..1558bd6a99fd62199b2b5fe2cc6c8a141cf56e0b 100644 (file)
@@ -5,7 +5,7 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: geqo.h,v 1.16 1999/05/25 22:43:05 momjian Exp $
+ * $Id: geqo.h,v 1.17 1999/07/15 15:21:20 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -21,8 +21,6 @@
 #ifndef GEQO_H
 #define GEQO_H
 
-#include "nodes/nodes.h"
-#include "nodes/parsenodes.h"
 #include "nodes/relation.h"
 #include "optimizer/geqo_gene.h"
 
index 00b5b9385e86f9eeda50a32f833ee43935341a56..d8d4e8ff565090b993b90fe5a33527330cc3dade 100644 (file)
@@ -5,7 +5,7 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: geqo_gene.h,v 1.7 1999/02/13 23:21:45 momjian Exp $
+ * $Id: geqo_gene.h,v 1.8 1999/07/15 15:21:20 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -23,8 +23,6 @@
 #define GEQO_GENE_H
 
 #include "nodes/nodes.h"
-#include "nodes/relation.h"
-#include "optimizer/geqo_gene.h"
 
 /* we presume that int instead of Relid
    is o.k. for Gene; so don't change it! */
index 9fadc318d4440c7557f7a229b01defb8c41ea8bb..abb6398a70af285c218678a4105b1abe38a97726 100644 (file)
@@ -5,7 +5,7 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: geqo_misc.h,v 1.11 1999/05/25 22:43:07 momjian Exp $
+ * $Id: geqo_misc.h,v 1.12 1999/07/15 15:21:20 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -23,9 +23,8 @@
 
 #include 
 
-#include "nodes/parsenodes.h"
-#include "optimizer/geqo_gene.h"
 #include "optimizer/geqo_recombination.h"
+#include "nodes/relation.h"
 
 extern void print_pool(FILE *fp, Pool *pool, int start, int stop);
 extern void print_gen(FILE *fp, Pool *pool, int generation);
index f8e047c888461027b463bb060ea8c1e72da7989b..3d6f2aa7df60c63854143e07e49bef9f287fe1c4 100644 (file)
@@ -5,7 +5,7 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: geqo_pool.h,v 1.7 1999/02/13 23:21:47 momjian Exp $
+ * $Id: geqo_pool.h,v 1.8 1999/07/15 15:21:21 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -23,6 +23,7 @@
 #define GEQO_POOL_H
 
 #include "optimizer/geqo_gene.h"
+#include "nodes/parsenodes.h"
 
 extern Pool *alloc_pool(int pool_size, int string_length);
 extern void free_pool(Pool *pool);
index 3812d421f9f76121bf05048ebf2a2eed51f68d01..faa573bbe766d2e799ba18ac65737b65130abd14 100644 (file)
@@ -6,13 +6,15 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: internal.h,v 1.21 1999/07/07 09:27:28 momjian Exp $
+ * $Id: internal.h,v 1.22 1999/07/15 15:21:21 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
 #ifndef INTERNAL_H
 #define INTERNAL_H
 
+#include "catalog/pg_index.h"
+
 /*
  *     ---------- SHARED MACROS
  *
index 3a4451dd3568249ee59a1eb73cfe24c80eef3302..ac72326184960e3c22a0abeacbc86a4f840196a8 100644 (file)
@@ -6,16 +6,14 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: joininfo.h,v 1.12 1999/05/25 22:43:08 momjian Exp $
+ * $Id: joininfo.h,v 1.13 1999/07/15 15:21:22 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
 #ifndef JOININFO_H
 #define JOININFO_H
 
-#include "nodes/nodes.h"
 #include "nodes/relation.h"
-#include "nodes/primnodes.h"
 
 extern JoinInfo *joininfo_member(List *join_relids, List *joininfo_list);
 extern JoinInfo *find_joininfo_node(RelOptInfo *this_rel, List *join_relids);
index 423b8e42161b151b769c27ed07cd881946f68cc0..67910c283fd72d80265ca965afa4be9464325c2d 100644 (file)
@@ -6,14 +6,13 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: keys.h,v 1.15 1999/05/25 22:43:09 momjian Exp $
+ * $Id: keys.h,v 1.16 1999/07/15 15:21:22 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
 #ifndef KEYS_H
 #define KEYS_H
 
-#include "nodes/nodes.h"
 #include "nodes/relation.h"
 
 extern bool match_indexkey_operand(int indexkey, Var *operand, RelOptInfo *rel);
index d7019fc4461ab69690643bfa1ea28fa33ff7a5ea..0860ab7f18f2740b99d6bc3586e18f4b8c06c184 100644 (file)
@@ -6,16 +6,14 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: pathnode.h,v 1.17 1999/05/25 22:43:10 momjian Exp $
+ * $Id: pathnode.h,v 1.18 1999/07/15 15:21:22 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
 #ifndef PATHNODE_H
 #define PATHNODE_H
 
-#include "nodes/nodes.h"
 #include "nodes/relation.h"
-#include "nodes/parsenodes.h"
 
 /*
  * prototypes for pathnode.c
index ee39919245dde18d5e0451d4b97bcfdfa81d778b..a26085d05e26265a3abca7b2a7dcf145f7cecf72 100644 (file)
@@ -7,15 +7,13 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: paths.h,v 1.30 1999/05/26 12:56:35 momjian Exp $
+ * $Id: paths.h,v 1.31 1999/07/15 15:21:22 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
 #ifndef PATHS_H
 #define PATHS_H
 
-#include "nodes/nodes.h"
-#include "nodes/parsenodes.h"
 #include "nodes/relation.h"
 
 /*
index 96bf3ebfc11471818c309504afc8fb0562315077..9e376174466a3aade30a28bff10eb8ab8ef28637 100644 (file)
@@ -6,16 +6,14 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: planmain.h,v 1.28 1999/06/06 17:38:09 tgl Exp $
+ * $Id: planmain.h,v 1.29 1999/07/15 15:21:22 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
 #ifndef PLANMAIN_H
 #define PLANMAIN_H
 
-#include "nodes/nodes.h"
 #include "nodes/plannodes.h"
-#include "nodes/parsenodes.h"
 #include "nodes/relation.h"
 
 /*
index 6bad60b6ada2c8fe9f7ed5c7c10041f13828811f..a8f85001e640c54b7b8065f880c0d003b1446db7 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: planner.h,v 1.11 1999/05/13 07:29:11 tgl Exp $
+ * $Id: planner.h,v 1.12 1999/07/15 15:21:23 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -18,7 +18,6 @@
 
 #include "nodes/parsenodes.h"
 #include "nodes/plannodes.h"
-#include "parser/parse_node.h"
 
 extern Plan *planner(Query *parse);
 extern Plan *union_planner(Query *parse);
index 0d1e741bc21171deba67f7efbce75cb919e589c8..2f5c4dca20cd8935eaf83fb6edcd85aad8626e5e 100644 (file)
@@ -6,14 +6,13 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: restrictinfo.h,v 1.4 1999/05/25 22:43:12 momjian Exp $
+ * $Id: restrictinfo.h,v 1.5 1999/07/15 15:21:23 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
 #ifndef RESTRICTINFO_H
 #define RESTRICTINFO_H
 
-#include "nodes/pg_list.h"
 #include "nodes/relation.h"
 
 extern bool valid_or_clause(RestrictInfo *restrictinfo);
index 5e9e16e51d86ec53f558714afcd01da28c780165..d4970e48481318084f2a48d7a50999eb0f44d510 100644 (file)
@@ -7,7 +7,6 @@
 #ifndef SUBSELECT_H
 #define SUBSELECT_H
 
-#include "nodes/pg_list.h"
 #include "nodes/plannodes.h"
 
 extern int PlannerQueryLevel;  /* level of current query */
index de57eb59ddbb08d4fab412b996872f1d0c994e8d..860b077de21a5ef54bb7f2328eb1c43d7abb7437 100644 (file)
@@ -6,15 +6,13 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: tlist.h,v 1.18 1999/05/25 22:43:13 momjian Exp $
+ * $Id: tlist.h,v 1.19 1999/07/15 15:21:23 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
 #ifndef TLIST_H
 #define TLIST_H
 
-#include "nodes/nodes.h"
-#include "nodes/parsenodes.h"
 #include "nodes/relation.h"
 
 extern TargetEntry *tlistentry_member(Var *var, List *targetlist);
index e903025bed46ea8ba848e2a7472c59d5efb7b5f2..16f9f4f6634a01dee9a2345f64a0e9f95b7a4598 100644 (file)
@@ -6,14 +6,13 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: var.h,v 1.7 1999/02/13 23:21:54 momjian Exp $
+ * $Id: var.h,v 1.8 1999/07/15 15:21:23 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
 #ifndef VAR_H
 #define VAR_H
 
-#include "nodes/nodes.h"
 #include "nodes/primnodes.h"
 
 extern List *pull_varnos(Node *me);
index 0801592882bf3723e78494e98eafc423303b29d0..64a6e3a65e22d5e1201bced86fdab48a4e93e99e 100644 (file)
@@ -6,16 +6,13 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: parse_agg.h,v 1.10 1999/05/25 22:43:16 momjian Exp $
+ * $Id: parse_agg.h,v 1.11 1999/07/15 15:21:25 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
 #ifndef PARSE_AGG_H
 #define PARSE_AGG_H
 
-#include 
-#include 
-#include 
 #include 
 
 extern void AddAggToParseState(ParseState *pstate, Aggref *aggref);
index 82cac2e233eabab9ad7c90531f89e1c8c5b59192..2b3dddad5c10dcd1be0e3ab4fabd471dfdc9b9af 100644 (file)
@@ -6,17 +6,13 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: parse_clause.h,v 1.9 1999/05/26 12:56:41 momjian Exp $
+ * $Id: parse_clause.h,v 1.10 1999/07/15 15:21:25 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
 #ifndef PARSE_CLAUSE_H
 #define PARSE_CLAUSE_H
 
-#include 
-#include 
-#include 
-#include 
 #include 
 
 extern void makeRangeTable(ParseState *pstate, char *relname, List *frmList, Node **qual);
index a8ce037d590c2b1565bc108961eeea391258c6a8..5976421735592c1d93f7af56e1f43fe6263c8379 100644 (file)
@@ -6,15 +6,15 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: parse_coerce.h,v 1.13 1999/07/14 01:20:25 momjian Exp $
+ * $Id: parse_coerce.h,v 1.14 1999/07/15 15:21:26 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
 #ifndef PARSE_COERCE_H
 #define PARSE_COERCE_H
 
-#include "nodes/pg_list.h"
 #include "parser/parse_node.h"
+#include "catalog/pg_type.h"
 
 typedef enum CATEGORY
 {
index 285b00f3f7abbac239a769103ed8a94b97474cdc..0913ce3bbaa670ab3c01faefd0848901ae641b16 100644 (file)
@@ -6,17 +6,15 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: parse_expr.h,v 1.11 1999/05/26 12:56:41 momjian Exp $
+ * $Id: parse_expr.h,v 1.12 1999/07/15 15:21:26 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
 #ifndef PARSE_EXPR_H
 #define PARSE_EXPR_H
 
-#include 
-#include 
-#include 
 #include 
+#include "parser/parse_type.h"
 
 extern Node *transformExpr(ParseState *pstate, Node *expr, int precedence);
 extern Oid exprType(Node *expr);
index d3441a0ce89c52cf3b181554a58e8913c263ecbe..de3487183ab5ba1d2ad5398e59805803e631789c 100644 (file)
@@ -6,18 +6,13 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: parse_func.h,v 1.16 1999/06/17 22:21:40 tgl Exp $
+ * $Id: parse_func.h,v 1.17 1999/07/15 15:21:26 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
 #ifndef PARSER_FUNC_H
 #define PARSER_FUNC_H
 
-#include 
-#include 
-#include 
-#include 
-#include 
 #include 
 
 
index 9bc4cf2b13bbde2af6b8f2e477a22ccfa260a7d3..5a56b5fb75bfae5191521dc60279fd0d2b2a4914 100644 (file)
@@ -5,18 +5,14 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: parse_node.h,v 1.12 1999/05/13 07:29:19 tgl Exp $
+ * $Id: parse_node.h,v 1.13 1999/07/15 15:21:27 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
 #ifndef PARSE_NODE_H
 #define PARSE_NODE_H
 
-#include 
-#include 
-#include 
 #include 
-#include 
 #include 
 
 /* state information used during parse analysis */
index 0c54a55326f8bba8c527d55e82ae1474182e5654..82e241ef87e2794bdaa8074f793872eeee0349a6 100644 (file)
@@ -6,15 +6,14 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: parse_oper.h,v 1.7 1999/02/13 23:21:57 momjian Exp $
+ * $Id: parse_oper.h,v 1.8 1999/07/15 15:21:27 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
 #ifndef PARSE_OPER_H
 #define PARSE_OPER_H
 
-#include 
-#include 
+#include "access/htup.h"
 
 typedef HeapTuple Operator;
 
index 5240dcc28d96eb953bba5c162753e0e4bc0cf729..12c47636b6ab46b5321447ded929aee41e06e38f 100644 (file)
@@ -6,19 +6,14 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: parse_relation.h,v 1.9 1999/02/13 23:21:57 momjian Exp $
+ * $Id: parse_relation.h,v 1.10 1999/07/15 15:21:27 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
 #ifndef PARSE_QUERY_H
 #define PARSE_RANGE_H
 
-#include 
-#include 
-#include 
-#include 
 #include 
-#include 
 
 extern RangeTblEntry *refnameRangeTableEntry(ParseState *pstate, char *refname);
 extern int refnameRangeTablePosn(ParseState *pstate,
index 2a70b5dde326f180ae4c905ef9dee992c83d5c2a..d54ce32d83b732beedc8a2abd736bfbd11de1ed4 100644 (file)
@@ -6,17 +6,13 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: parse_target.h,v 1.12 1999/05/17 17:03:46 momjian Exp $
+ * $Id: parse_target.h,v 1.13 1999/07/15 15:21:27 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
 #ifndef PARSE_TARGET_H
 #define PARSE_TARGET_H
 
-#include 
-#include 
-#include 
-#include 
 #include 
 
 #define EXPR_COLUMN_FIRST  1
index a28520ff9343cde678a92d0ae0a1f7bffdfd45ab..1f6767d662e0cccfd01f684be345124dcde70458 100644 (file)
@@ -7,13 +7,16 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: parsetree.h,v 1.6 1999/02/13 23:21:57 momjian Exp $
+ * $Id: parsetree.h,v 1.7 1999/07/15 15:21:28 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
 #ifndef PARSETREE_H
 #define PARSETREE_H                /* include once only */
 
+#include "nodes/parsenodes.h"
+#include "nodes/pg_list.h"
+
 /* ----------------
  *     need pg_list.h for definitions of CAR(), etc. macros
  * ----------------
index 051d65cec019e76a207e6591b1ee86b4ebbf4c11..63640e53db16fc488b87d40e8c3808889290487a 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Copyright (c) 1995, Regents of the University of California
  *
- * $Id: postgres.h,v 1.23 1999/06/10 22:59:22 momjian Exp $
+ * $Id: postgres.h,v 1.24 1999/07/15 15:20:47 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -40,8 +40,9 @@
 #include "config.h"
 #endif
 #include "c.h"
-#include "utils/elog.h"
 #include "utils/palloc.h"
+#include "utils/mcxt.h"
+#include "utils/elog.h"
 
 /* ----------------------------------------------------------------
  *             Section 1:  simple type definitions
index 7527d0f5b6da9359f1e415d76f8b7c2fbb78ee51..69740a86eb3c76d2c2945555be211c3e36db4cd0 100644 (file)
@@ -6,14 +6,13 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: locks.h,v 1.11 1999/02/13 23:21:59 momjian Exp $
+ * $Id: locks.h,v 1.12 1999/07/15 15:21:29 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
 #ifndef LOCKS_H
 #define LOCKS_H
 
-#include "nodes/nodes.h"
 #include "nodes/parsenodes.h"
 #include "rewrite/prs2lock.h"
 
index 2b5caebba4268023ed6eea5bbd9df76fc8dcd3a8..6a59f8f224cc2c9378363d551fdd17cccd8882fe 100644 (file)
@@ -6,14 +6,13 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: rewriteHandler.h,v 1.10 1999/05/26 12:56:48 momjian Exp $
+ * $Id: rewriteHandler.h,v 1.11 1999/07/15 15:21:30 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
 #ifndef REWRITEHANDLER_H
 #define REWRITEHANDLER_H
 
-#include "nodes/nodes.h"
 #include "nodes/parsenodes.h"
 
 struct _rewrite_meta_knowledge
index 389676daba784af162be49741b116b144594afb1..273b2fd49969ea1d41aa2c7d9a1ed33524cf4481 100644 (file)
@@ -6,15 +6,13 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: rewriteManip.h,v 1.16 1999/05/26 12:56:50 momjian Exp $
+ * $Id: rewriteManip.h,v 1.17 1999/07/15 15:21:30 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
 #ifndef REWRITEMANIP_H
 #define REWRITEMANIP_H
 
-#include "nodes/nodes.h"
-#include "nodes/parsenodes.h"
 #include "rewrite/rewriteHandler.h"
 
 /* RewriteManip.c */
index 55b735a6a9914d3f897fbad652f5663efc7c6ce6..a0d08a2d78bde335956ada6d2627db069cba0d92 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: bufmgr.h,v 1.26 1999/05/25 16:14:39 momjian Exp $
+ * $Id: bufmgr.h,v 1.27 1999/07/15 15:21:31 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -54,17 +54,6 @@ typedef bits16 BufferLock;
  */
 #define BufferDescriptorGetBuffer(bdesc) ((bdesc)->buf_id + 1)
 
-/*
- * BufferIsPinned
- *     True iff the buffer is pinned (and therefore valid)
- *
- * Note:
- *     Smenatics are identical to BufferIsValid
- *     XXX - need to remove either one eventually.
- */
-#define BufferIsPinned BufferIsValid
-
-
 extern int ShowPinTrace;
 
 /*
@@ -101,6 +90,17 @@ extern int  ShowPinTrace;
    ) \
 )
 
+/*
+ * BufferIsPinned
+ *     True iff the buffer is pinned (and therefore valid)
+ *
+ * Note:
+ *     Smenatics are identical to BufferIsValid
+ *     XXX - need to remove either one eventually.
+ */
+#define BufferIsPinned BufferIsValid
+
+
 #define IncrBufferRefCount(buffer) \
 ( \
    BufferIsLocal(buffer) ? \
index 74729eaddc4119d974a96cdbf172bc3ca5e97411..6921f97a089573ea30d30f38d26d9683bac3370d 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: bufpage.h,v 1.23 1999/07/03 00:32:59 momjian Exp $
+ * $Id: bufpage.h,v 1.24 1999/07/15 15:21:32 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -18,6 +18,7 @@
 #include 
 #include 
 #include 
+#include 
 
 /*
  * a postgres disk page is an abstraction layered on top of a postgres
index 6027785fabfbba3fb2fda15066f9a2586a9d81d7..c7e649f19c0c5fb69b5ea3ee63ccc4dd335e04a6 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: lmgr.h,v 1.20 1999/05/25 22:43:26 momjian Exp $
+ * $Id: lmgr.h,v 1.21 1999/07/15 15:21:32 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -15,7 +15,6 @@
 
 #include 
 #include 
-#include 
 
 #define AccessShareLock            1       /* SELECT */
 #define RowShareLock           2       /* SELECT FOR UPDATE */
index 63a3e1b54c365c1585be140c751bb2f59d005676..e05ceae8622db1d896ac829fac6899034d4d3693 100644 (file)
@@ -6,13 +6,14 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: off.h,v 1.7 1999/05/25 16:14:43 momjian Exp $
+ * $Id: off.h,v 1.8 1999/07/15 15:21:33 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
 #ifndef OFF_H
 #define OFF_H
 
+#include "storage/itemid.h"
 /*
  * OffsetNumber:
  *
index 91d85c68c556ff541312526b98bd44358fc84d47..700e6afe5f3625e676233545e6b6a3b872d2a036 100644 (file)
@@ -6,13 +6,15 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: pos.h,v 1.7 1999/05/25 16:14:44 momjian Exp $
+ * $Id: pos.h,v 1.8 1999/07/15 15:21:35 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
 #ifndef POS_H
 #define POS_H
 
+#include "storage/off.h"
+
 /*
  * a 'position' used to be  in postgres.  this has
  * been changed to just  as the notion of having multiple pages
index f46f9b324844a14ce11eaf7cb4283dfa545c69cc..a694d435c727ca715fef56fb0c66026ea4d9fde3 100644 (file)
@@ -44,7 +44,7 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: dest.h,v 1.20 1999/05/25 22:43:29 momjian Exp $
+ * $Id: dest.h,v 1.21 1999/07/15 15:21:36 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -52,7 +52,6 @@
 #define DEST_H
 
 #include 
-#include 
 
 /* ----------------
  *     CommandDest is a simplistic means of identifying the desired
index 95e68fdf0755aebac39fc630fea2e8e268f55bc6..c0270b3a125fc7cc365ff6fb16ef9c2a7676d7a7 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: acl.h,v 1.20 1999/07/09 03:28:53 momjian Exp $
+ * $Id: acl.h,v 1.21 1999/07/15 15:21:38 momjian Exp $
  *
  * NOTES
  *   For backward-compatability purposes we have to allow there
@@ -24,6 +24,7 @@
 
 #include 
 #include 
+#include "utils/memutils.h"
 
 /*
  * AclId       system identifier for the user, group, etc.
index e6c8c6c31122e53a41f0a35b60435f498be76dad..ed4705184dbc6687eb590dcd7b1b9fb2ac25c21d 100644 (file)
@@ -10,7 +10,7 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: array.h,v 1.18 1999/05/25 16:14:49 momjian Exp $
+ * $Id: array.h,v 1.19 1999/07/15 15:21:38 momjian Exp $
  *
  * NOTES
  *   XXX the data array should be LONGALIGN'd -- notice that the array
@@ -23,6 +23,7 @@
 #define ARRAY_H
 
 #include 
+#include "utils/memutils.h"
 
 typedef struct
 {
@@ -97,11 +98,7 @@ typedef struct
  *------------------------------------------------------------------------
  */
 
-/* #if defined(irix5) */
-/* #define RETURN_NULL {*isNull = true; return(0); }*/
- /* #else *//* irix5 */
 #define RETURN_NULL {*isNull = true; return(0); }
- /* #endif *//* irix5 */
 #define NAME_LEN   30
 #define MAX_BUFF_SIZE BLCKSZ
 
index 1d8044ca5449cb754aeb1b7652f1b5bd602976e0..f653068e2002cb8d99af060b0ebc434fd2106c23 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: builtins.h,v 1.81 1999/05/26 12:57:03 momjian Exp $
+ * $Id: builtins.h,v 1.82 1999/07/15 15:21:39 momjian Exp $
  *
  * NOTES
  *   This should normally only be included by fmgr.h.
@@ -28,9 +28,7 @@
 #include 
 #include 
 #include 
-#include 
 #include 
-#include 
 #include 
 
 /*
index 5f583aded3a027edb483b511a7e8ed591b7859c7..601e59596a6900f5274ae73c59535d00f7b9ffad 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: catcache.h,v 1.16 1999/07/14 01:20:26 momjian Exp $
+ * $Id: catcache.h,v 1.17 1999/07/15 15:21:39 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -17,9 +17,6 @@
 
 #include 
 #include 
-#include 
-#include 
-#include 
 
 /*
  *     struct catctup:         tuples in the cache.
index d217c8aa87fe58e8631d808b2d0f881920f26d88..de6d81aafa74d2c3520b6ba59f0277816ffed796 100644 (file)
@@ -8,7 +8,7 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: dt.h,v 1.40 1999/05/25 16:14:53 momjian Exp $
+ * $Id: dt.h,v 1.41 1999/07/15 15:21:39 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -17,6 +17,7 @@
 
 #include 
 #include 
+#include 
 
 /*
  * DateTime represents absolute time.
index e2dbf4c59f843da2b31354a59d970141264dc09b..601c023387c8ddb6a069c0e5667b500a3d069678 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: dynamic_loader.h,v 1.10 1999/02/13 23:22:18 momjian Exp $
+ * $Id: dynamic_loader.h,v 1.11 1999/07/15 15:21:39 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -16,6 +16,7 @@
 #include 
 #include          /* For MAXPATHLEN */
 
+/* we need this include because port files use them */
 #include 
 
 #ifdef MIN
index 321c5deaf2c1fcaadeac52583ba3692d9156200e..3ee354df115dee72e34dbc26793b590fec20f3fd 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: inval.h,v 1.11 1999/02/13 23:22:23 momjian Exp $
+ * $Id: inval.h,v 1.12 1999/07/15 15:21:39 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -14,7 +14,6 @@
 #define INVAL_H
 
 #include 
-#include 
 
 extern void InitLocalInvalidateData(void);
 
index 981c3683456fbd67b5249cdf84226ed187ce370c..71154579f5c59cb8eb6665110215d63b42989b8e 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: lselect.h,v 1.12 1999/02/13 23:22:24 momjian Exp $
+ * $Id: lselect.h,v 1.13 1999/07/15 15:21:40 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -15,9 +15,6 @@
 
 #include 
 
-#include "access/skey.h"
-#include "access/tupdesc.h"
-#include "access/htup.h"
 #include "utils/syscache.h"
 
 struct leftist
index e88f004004d52689ac71176f8a30b554cbce219c..6a985ac8c76f34d6dca976d936acf5b2d71e40ad 100644 (file)
@@ -6,14 +6,13 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: lsyscache.h,v 1.16 1999/02/13 23:22:24 momjian Exp $
+ * $Id: lsyscache.h,v 1.17 1999/07/15 15:21:41 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
 #ifndef LSYSCACHE_H
 #define LSYSCACHE_H
 
-#include 
 #include 
 
 extern bool op_class(Oid oprno, int32 opclass, Oid amopid);
index 754d023d2ed546f356580ba2ed4e982e8d444f6e..7a3d12f60528f9952682f380e57a7bd1d8356169 100644 (file)
@@ -15,7 +15,7 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: memutils.h,v 1.29 1999/07/14 01:20:29 momjian Exp $
+ * $Id: memutils.h,v 1.30 1999/07/15 15:21:41 momjian Exp $
  *
  * NOTES
  *   some of the information in this file will be moved to
@@ -30,7 +30,6 @@
  * This is not needed by this include file, but by almost every file
  * that includes this file.
  */
-#include "utils/mcxt.h"
 
 /* ----------------
  * Alignment macros: align a length or address appropriately for a given type.
index 61e6976766ec6437ca87eb2aec7169af859d3e5f..07186589a90e83b79942d292c39e454df633c2c4 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: portal.h,v 1.15 1999/06/12 14:07:32 momjian Exp $
+ * $Id: portal.h,v 1.16 1999/07/15 15:21:42 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -26,9 +26,7 @@
 #define PORTAL_H
 
 #include 
-#include 
 #include 
-#include 
 
 typedef struct PortalBlockData
 {
index b9590cef6182f83f12e6e01973fc22f9116418e7..c3e0295302dc2322f6d6e920ddc736be770130eb 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: psort.h,v 1.19 1999/05/25 16:14:57 momjian Exp $
+ * $Id: psort.h,v 1.20 1999/07/15 15:21:42 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -66,7 +66,6 @@ typedef struct Psortstate
 } Psortstate;
 
 #ifdef EBUG
-#include "utils/elog.h"
 #include "storage/buf.h"
 #include "storage/bufmgr.h"
 
index c6863746d1dbd3f8031d8310113c4170aae84d4a..22949b443461adaad24873f8685628739c89b1ce 100644 (file)
@@ -6,17 +6,14 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: syscache.h,v 1.13 1999/02/13 23:22:32 momjian Exp $
+ * $Id: syscache.h,v 1.14 1999/07/15 15:21:43 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
 #ifndef SYSCACHE_H
 #define SYSCACHE_H
 
-#include 
 #include 
-#include 
-#include 
 
  /* #define CACHEDEBUG *//* turns DEBUG elogs on */
 
index 1b8322351027b119549235a7f5887f4de4a423e4..ecfa17985ea17d26508b4d1b58d84008d4f30238 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: temprel.h,v 1.3 1999/05/25 16:14:57 momjian Exp $
+ * $Id: temprel.h,v 1.4 1999/07/15 15:21:43 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -14,7 +14,6 @@
 #define TEMPREL_H
 
 #include "access/htup.h"
-#include "access/attnum.h"
 
 void       create_temp_relation(char *relname, HeapTuple pg_class_tuple);
 void       remove_all_temp_relations(void);
index 1bec1aff7b40be920de5882df6aac72d6eef20c1..acb3284c9ae5c8edb9800555230c8da3827f2ea7 100644 (file)
@@ -7,7 +7,7 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: tqual.h,v 1.22 1999/05/25 22:43:39 momjian Exp $
+ * $Id: tqual.h,v 1.23 1999/07/15 15:21:43 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -15,6 +15,7 @@
 #define TQUAL_H
 
 #include 
+#include 
 
 typedef struct SnapshotData
 {
index 64fb7bc9829ccf22bbc44f5aafcabe3de88afbdd..70865ff3ee400c012bb954eae8b6a49459ad44ed 100644 (file)
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *   $Header: /cvsroot/pgsql/src/interfaces/ecpg/preproc/keywords.c,v 1.14 1999/07/13 21:17:44 momjian Exp $
+ *   $Header: /cvsroot/pgsql/src/interfaces/ecpg/preproc/keywords.c,v 1.15 1999/07/15 15:21:43 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -20,7 +20,6 @@
 #include "type.h"
 #include "preproc.h"
 #include "parser/keywords.h"
-#include "utils/elog.h"
 
 /*
  * List of (keyword-name, keyword-token-value) pairs.
index 7f244c768504d098aa5fe8a28e5068e7ffe6da57..ff1f9907f9c207062f765e7231f4fb1b2a8f8744 100644 (file)
@@ -8,6 +8,8 @@
 #include "access/htup.h"
 #include "catalog/catname.h"
 #include "utils/numeric.h"
+#include "utils/memutils.h"
+#include "storage/bufpage.h"
 
 #include "extern.h"
 
index f8f0380b6da672c3c8cf1167f0fe70a773d1a50e..ac09443cfa20fc1df6f1301edc7014ee0c6e7115 100644 (file)
@@ -1,6 +1,6 @@
 .\" This is -*-nroff-*-
 .\" XXX standard disclaimer belongs here....
-.\" $Header: /cvsroot/pgsql/src/man/Attic/create_language.l,v 1.3 1998/06/23 17:52:31 momjian Exp $
+.\" $Header: /cvsroot/pgsql/src/man/Attic/create_language.l,v 1.4 1999/07/15 15:21:45 momjian Exp $
 .TH "CREATE LANGUAGE" SQL 11/05/95 PostgreSQL PostgreSQL
 .SH "NAME"
 create language - define a new language for functions
@@ -70,7 +70,6 @@ Following is a template for a PL handler written in 'C':
 
 #include "executor/spi.h"
 #include "commands/trigger.h"
-#include "utils/elog.h"
 #include "fmgr.h"      /* for FmgrValues struct */
 #include "access/heapam.h"
 #include "utils/syscache.h"
index ea53442678389317f906259ad0269fbe48db9efd..75aad7a8218c6d7ea975ee9e857ad310aa3b1a17 100644 (file)
@@ -3,7 +3,7 @@
  *           procedural language
  *
  * IDENTIFICATION
- *   $Header: /cvsroot/pgsql/src/pl/plpgsql/src/pl_comp.c,v 1.7 1999/05/25 16:15:17 momjian Exp $
+ *   $Header: /cvsroot/pgsql/src/pl/plpgsql/src/pl_comp.c,v 1.8 1999/07/15 15:21:46 momjian Exp $
  *
  *   This software is copyrighted by Jan Wieck - Hamburg.
  *
@@ -48,7 +48,6 @@
 
 #include "executor/spi.h"
 #include "commands/trigger.h"
-#include "utils/elog.h"
 #include "utils/builtins.h"
 #include "fmgr.h"
 #include "access/heapam.h"
index 02bdf6caa12be7479ab09a27f68754889993621c..5be7e55c2d522d25939886d57d893ad0431ec81e 100644 (file)
@@ -3,7 +3,7 @@
  *           procedural language
  *
  * IDENTIFICATION
- *   $Header: /cvsroot/pgsql/src/pl/plpgsql/src/pl_exec.c,v 1.12 1999/07/04 01:03:01 tgl Exp $
+ *   $Header: /cvsroot/pgsql/src/pl/plpgsql/src/pl_exec.c,v 1.13 1999/07/15 15:21:47 momjian Exp $
  *
  *   This software is copyrighted by Jan Wieck - Hamburg.
  *
@@ -50,7 +50,6 @@
 #include "executor/spi.h"
 #include "executor/spi_priv.h"
 #include "commands/trigger.h"
-#include "utils/elog.h"
 #include "utils/builtins.h"
 #include "fmgr.h"
 #include "access/heapam.h"
index 8b2a0c8cba53b9786b412133e9a9cd8a5ba3475b..0215eea6bba118c8bb2c69fee631fcf6b4378892 100644 (file)
@@ -3,7 +3,7 @@
  *           procedural language
  *
  * IDENTIFICATION
- *   $Header: /cvsroot/pgsql/src/pl/plpgsql/src/pl_handler.c,v 1.2 1998/09/01 04:40:25 momjian Exp $
+ *   $Header: /cvsroot/pgsql/src/pl/plpgsql/src/pl_handler.c,v 1.3 1999/07/15 15:21:48 momjian Exp $
  *
  *   This software is copyrighted by Jan Wieck - Hamburg.
  *
@@ -47,7 +47,6 @@
 
 #include "executor/spi.h"
 #include "commands/trigger.h"
-#include "utils/elog.h"
 #include "utils/builtins.h"
 #include "fmgr.h"
 #include "access/heapam.h"
index 62f94ec0aeae3e3e7777741ae613d457c6c86d1a..0ec47d9f95ff64399c1cc6e3d2517340881a2e4b 100644 (file)
@@ -3,7 +3,7 @@
  *           procedural language (PL)
  *
  * IDENTIFICATION
- *   $Header: /cvsroot/pgsql/src/pl/tcl/pltcl.c,v 1.12 1999/05/26 12:57:23 momjian Exp $
+ *   $Header: /cvsroot/pgsql/src/pl/tcl/pltcl.c,v 1.13 1999/07/15 15:21:50 momjian Exp $
  *
  *   This software is copyrighted by Jan Wieck - Hamburg.
  *
@@ -47,7 +47,6 @@
 
 #include "executor/spi.h"
 #include "commands/trigger.h"
-#include "utils/elog.h"
 #include "utils/builtins.h"
 #include "fmgr.h"
 #include "access/heapam.h"
diff --git a/src/tools/pginclude/pgdefine b/src/tools/pginclude/pgdefine
new file mode 100755 (executable)
index 0000000..3411c35
--- /dev/null
@@ -0,0 +1,13 @@
+:
+trap "rm -f /tmp/$$" 0 1 2 3 15
+for FILE
+do
+   cat "$FILE" | grep "^#define" >/tmp/$$
+   cat /tmp/$$ | sed -n 's/^#define[   ][  ]*\([a-zA-Z0-9_]*\)[    ][  ]*[^    ].*$/(void)\1;/p'
+   cat /tmp/$$ | sed -n 's/^#define[   ][  ]*\([a-zA-Z0-9_]*([^)]*)\).*$/(=void)\1;/p' |
+   sed 's/([a-zA-Z0-9_ ][a-zA-Z0-9_ ]*)/(0)/g' |
+   sed 's/([a-zA-Z0-9_ ]*,/(0,/g' |
+   sed 's/,[a-zA-Z0-9_ ]*,/,0,/g' |
+   sed 's/,[a-zA-Z0-9_ ]*)/,0)/g' |
+   sed 's/(=void)/(void)/g'
+done
diff --git a/src/tools/pginclude/pginclude b/src/tools/pginclude/pginclude
new file mode 100755 (executable)
index 0000000..afaa6ad
--- /dev/null
@@ -0,0 +1,20 @@
+:
+trap "rm -f /tmp/$$.c /tmp/$$.o /tmp/$$ /tmp/$$a" 0 1 2 3 15
+find . \( -name CVS -a -prune \) -o -name '*.[ch]' -type f -print | while read FILE
+do
+   sed 's/->[a-zA-Z0-9_\.]*//g' "$FILE" >/tmp/$$a
+   echo "#include \"postgres.h\"" >/tmp/$$.c
+   echo "#include \"/tmp/$$a\"" >>/tmp/$$.c
+   echo "void main() {" >>/tmp/$$.c
+   pgdefine "$FILE" >>/tmp/$$.c
+   echo "}" >>/tmp/$$.c
+   cc -Werror -Wall -I/pg/include -I/pg/backend -c /tmp/$$.c -o /tmp/$$.o >/tmp/$$ 2>&1
+   if [ "$?" -ne 0 ]
+   then    echo "$FILE"
+       if [ "$1" = "-v" ]
+       then    cat /tmp/$$
+           nl /tmp/$$.c
+           echo
+       fi
+   fi
+done
diff --git a/src/tools/pginclude/pgnoinclude b/src/tools/pginclude/pgnoinclude
new file mode 100755 (executable)
index 0000000..41c3159
--- /dev/null
@@ -0,0 +1,28 @@
+:
+trap "rm -f /tmp/$$.c /tmp/$$.o /tmp/$$ /tmp/$$a /tmp/$$b" 0 1 2 3 15
+find . \( -name CVS -a -prune \) -o -type f -print | while read FILE
+do
+   cat "$FILE" | grep -v "^#if" | grep -v "^#else" | 
+       grep -v "^#endif" | sed 's/->[a-zA-Z0-9_\.]*//g' >/tmp/$$a
+   cat /tmp/$$a | grep "^#include" |
+   sed 's/#include[    ]*[<"]\([^>"]*\).*$/\1/g' |
+   while read INCLUDE
+   do
+       [ -s /usr/include/$INCLUDE ] && continue
+       cat /tmp/$$a |
+       grep -v '^#include[     ]*[<"]'"$INCLUDE"'[>"]' >/tmp/$$b
+       echo "#include \"postgres.h\"" >/tmp/$$.c
+       echo "#include \"/tmp/$$b\"" >>/tmp/$$.c
+       echo "void main() {" >>/tmp/$$.c
+       pgdefine "$FILE" >>/tmp/$$.c
+       echo "}" >>/tmp/$$.c
+       cc -Werror -Wall -I/pg/include -I/pg/backend -c /tmp/$$.c -o /tmp/$$.o >/tmp/$$ 2>&1
+       if [ "$?" -eq 0 ]
+       then    echo "$FILE $INCLUDE"
+           if [ "$1" = "-v" ]
+           then    cat /tmp/$$
+               cat /tmp/$$.c
+           fi
+       fi
+   done
+done
index 49317448216df8e605bdfbef2fcd3b8f73a2e56e..b44bbc067dafbfe7e947b443f1432572142e5856 100644 (file)
@@ -8,7 +8,6 @@
 /* do not include libpq-fe.h for backend-loaded functions*/
 /* #include "libpq-fe.h"  */
 #include "postgres.h"
-#include "utils/mcxt.h"
 
 typedef struct Complex
 {
index bb0efacb64e5a00392e360373c2c39eb38750b48..8da815c2feffaedb7647958ac7c8949ae7fb847b 100644 (file)
@@ -9,7 +9,6 @@
 #include 
 #include 
 #include "postgres.h"          /* for variable length type */
-#include "utils/palloc.h"      /* for palloc */
 #include "executor/executor.h" /* for GetAttributeByName() */
 #include "utils/geo_decls.h"   /* for point type */