Commit 9b645d48 authored by Bruce Momjian's avatar Bruce Momjian

Update #include cleanups

parent a9591ce6
......@@ -7,11 +7,11 @@
* Copyright (c) 1994, Regents of the University of California
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/bootstrap/bootstrap.c,v 1.62 1999/07/15 22:38:55 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/bootstrap/bootstrap.c,v 1.63 1999/07/16 03:12:46 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#include <unistd.h> /* For getopt() */
#include <unistd.h>
#include <time.h>
#include <stdio.h>
#include <signal.h>
......
......@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/catalog/aclchk.c,v 1.23 1999/07/15 22:38:57 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/catalog/aclchk.c,v 1.24 1999/07/16 03:12:46 momjian Exp $
*
* NOTES
* See acl.h.
......@@ -17,7 +17,7 @@
#include <string.h>
#include "postgres.h"
#include "utils/acl.h" /* where declarations for this file go */
#include "utils/acl.h"
#include "access/heapam.h"
#include "catalog/indexing.h"
#include "catalog/catalog.h"
......
......@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/catalog/catalog.c,v 1.22 1999/07/15 23:03:04 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/catalog/catalog.c,v 1.23 1999/07/16 03:12:47 momjian Exp $
*
*-------------------------------------------------------------------------
*/
......@@ -15,9 +15,9 @@
#include "postgres.h"
#include <miscadmin.h> /* for DataDir */
#include "miscadmin.h"
#include "utils/syscache.h"
#include <catalog/catname.h> /* NameIs{,Shared}SystemRelationName */
#include "catalog/catname.h"
#include "catalog/pg_type.h"
#include "catalog/catalog.h"
#include "access/transam.h"
......
......@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/commands/_deadcode/Attic/recipe.c,v 1.5 1999/07/15 23:03:09 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/commands/_deadcode/Attic/recipe.c,v 1.6 1999/07/16 03:12:49 momjian Exp $
*
*-------------------------------------------------------------------------
*/
......@@ -22,7 +22,7 @@
#include "libpq/libpq-be.h"
#include "parser/parse_node.h"
#include "utils/builtins.h"
#include <utils/relcache.h> /* for RelationNameGetRelation */
#include "utils/relcache.h"
#include "rewrite/rewriteHandler.h"
#include "rewrite/rewriteManip.h"
#include "tcop/pquery.h"
......
......@@ -6,7 +6,7 @@
* Copyright (c) 1994, Regents of the University of California
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/commands/async.c,v 1.49 1999/07/15 23:03:06 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/commands/async.c,v 1.50 1999/07/16 03:12:47 momjian Exp $
*
*-------------------------------------------------------------------------
*/
......@@ -80,7 +80,7 @@
#include <signal.h>
#include <string.h>
#include <errno.h>
#include <sys/types.h> /* Needed by in.h on Ultrix */
#include <sys/types.h>
#include <netinet/in.h>
#include "postgres.h"
......
......@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/commands/dbcommands.c,v 1.36 1999/07/15 22:39:01 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/commands/dbcommands.c,v 1.37 1999/07/16 03:12:48 momjian Exp $
*
*-------------------------------------------------------------------------
*/
......@@ -22,7 +22,7 @@
#include "catalog/catname.h"
#include "catalog/pg_database.h"
#include "catalog/pg_shadow.h"
#include "miscadmin.h" /* for DataDir */
#include "miscadmin.h"
#include "tcop/tcopprot.h"
#include "commands/dbcommands.h"
#include "utils/syscache.h"
......
......@@ -9,7 +9,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/commands/define.c,v 1.31 1999/07/15 23:03:08 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/commands/define.c,v 1.32 1999/07/16 03:12:48 momjian Exp $
*
* DESCRIPTION
* The "DefineFoo" routines take the parse tree and pick out the
......@@ -47,8 +47,8 @@
#include "catalog/pg_type.h"
#include "catalog/pg_language.h"
#include "utils/syscache.h"
#include <fmgr.h> /* for fmgr */
#include <utils/builtins.h> /* prototype for textin() */
#include "fmgr.h"
#include "utils/builtins.h"
#include "commands/defrem.h"
#include "tcop/dest.h"
#include "catalog/pg_shadow.h"
......
......@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/commands/indexcmds.c,v 1.6 1999/07/15 23:03:08 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/commands/indexcmds.c,v 1.7 1999/07/16 03:12:48 momjian Exp $
*
*-------------------------------------------------------------------------
*/
......@@ -26,7 +26,7 @@
#include "catalog/pg_type.h"
#include "catalog/pg_opclass.h"
#include "commands/defrem.h"
#include <parser/parsetree.h> /* for getrelid() */
#include "parser/parsetree.h"
#include "optimizer/prep.h"
#include "optimizer/clauses.h"
......
......@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/commands/Attic/rename.c,v 1.28 1999/07/15 23:03:08 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/commands/Attic/rename.c,v 1.29 1999/07/16 03:12:49 momjian Exp $
*
*-------------------------------------------------------------------------
*/
......@@ -21,7 +21,7 @@
#include "catalog/catalog.h"
#include "commands/rename.h"
#include "miscadmin.h"
#include <optimizer/prep.h> /* for find_all_inheritors */
#include "optimizer/prep.h"
#ifndef NO_SECURITY
#include "utils/acl.h"
#endif /* !NO_SECURITY */
......
......@@ -5,7 +5,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: execAmi.c,v 1.38 1999/07/15 22:39:04 momjian Exp $
* $Id: execAmi.c,v 1.39 1999/07/16 03:12:50 momjian Exp $
*
*-------------------------------------------------------------------------
*/
......@@ -46,7 +46,7 @@
#include "executor/nodeAppend.h"
#include "executor/nodeSubplan.h"
#include "executor/execdebug.h"
#include "optimizer/internal.h" /* for _NONAME_RELATION_ID_ */
#include "optimizer/internal.h"
#include "access/genam.h"
#include "access/heapam.h"
#include "catalog/heap.h"
......
......@@ -26,7 +26,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/executor/execMain.c,v 1.90 1999/07/15 22:39:05 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/executor/execMain.c,v 1.91 1999/07/16 03:12:50 momjian Exp $
*
*-------------------------------------------------------------------------
*/
......@@ -40,7 +40,7 @@
#include "utils/builtins.h"
#include "utils/acl.h"
#include "utils/syscache.h"
#include "parser/parsetree.h" /* rt_fetch() */
#include "parser/parsetree.h"
/* #include "access/localam.h" */
#include "optimizer/var.h"
#include "access/heapam.h"
......
......@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/executor/nodeAppend.c,v 1.21 1999/07/15 22:39:07 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/executor/nodeAppend.c,v 1.22 1999/07/16 03:12:52 momjian Exp $
*
*-------------------------------------------------------------------------
*/
......@@ -60,7 +60,7 @@
#include "executor/executor.h"
#include "executor/execdebug.h"
#include "executor/nodeAppend.h"
#include "parser/parsetree.h" /* for rt_store() macro */
#include "parser/parsetree.h"
static bool exec_append_initialize_next(Append *node);
......
......@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/executor/nodeHashjoin.c,v 1.23 1999/07/15 22:39:09 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/executor/nodeHashjoin.c,v 1.24 1999/07/16 03:12:52 momjian Exp $
*
*-------------------------------------------------------------------------
*/
......@@ -19,7 +19,7 @@
#include "executor/executor.h"
#include "executor/nodeHash.h"
#include "executor/nodeHashjoin.h"
#include "optimizer/clauses.h" /* for get_leftop */
#include "optimizer/clauses.h"
static TupleTableSlot *ExecHashJoinOuterGetTuple(Plan *node, Plan *parent,
HashJoinState *hjstate);
......
......@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/executor/nodeIndexscan.c,v 1.38 1999/07/15 22:39:09 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/executor/nodeIndexscan.c,v 1.39 1999/07/16 03:12:53 momjian Exp $
*
*-------------------------------------------------------------------------
*/
......@@ -34,8 +34,8 @@
#include "executor/execdebug.h"
#include "executor/nodeIndexscan.h"
#include "optimizer/clauses.h" /* for get_op, get_leftop, get_rightop */
#include "parser/parsetree.h" /* for rt_fetch() */
#include "optimizer/clauses.h"
#include "parser/parsetree.h"
#include "access/heapam.h"
#include "access/genam.h"
......
......@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/executor/nodeMaterial.c,v 1.23 1999/07/15 22:39:10 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/executor/nodeMaterial.c,v 1.24 1999/07/16 03:12:53 momjian Exp $
*
*-------------------------------------------------------------------------
*/
......@@ -24,7 +24,7 @@
#include "executor/executor.h"
#include "executor/nodeMaterial.h"
#include "catalog/heap.h"
#include "optimizer/internal.h" /* for _NONAME_RELATION_ID_ */
#include "optimizer/internal.h"
#include "access/heapam.h"
/* ----------------------------------------------------------------
......
......@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/executor/nodeUnique.c,v 1.21 1999/07/15 22:39:11 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/executor/nodeUnique.c,v 1.22 1999/07/16 03:12:54 momjian Exp $
*
*-------------------------------------------------------------------------
*/
......@@ -29,7 +29,7 @@
#include "executor/executor.h"
#include "executor/nodeUnique.h"
#include "access/heapam.h"
#include "access/printtup.h" /* for getTypeOutAndElem() */
#include "access/printtup.h"
/* ----------------------------------------------------------------
* ExecIdenticalTuples
......
......@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/libpq/be-fsstubs.c,v 1.38 1999/07/15 23:03:13 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/libpq/be-fsstubs.c,v 1.39 1999/07/16 03:12:55 momjian Exp $
*
* NOTES
* This should be moved to a more appropriate place. It is here
......@@ -38,7 +38,7 @@
#include "postgres.h"
#include "libpq/libpq-fs.h"
#include <catalog/pg_shadow.h> /* for superuser() */
#include "catalog/pg_shadow.h"
#include "storage/large_object.h"
#include "libpq/be-fsstubs.h"
......
......@@ -5,7 +5,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: portal.c,v 1.24 1999/07/15 23:03:14 momjian Exp $
* $Id: portal.c,v 1.25 1999/07/16 03:12:56 momjian Exp $
*
*-------------------------------------------------------------------------
*/
......@@ -55,7 +55,7 @@
#include "postgres.h"
#include <libpq/libpq.h> /* where the declarations go */
#include "libpq/libpq.h"
/* ----------------------------------------------------------------
......
......@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/libpq/Attic/portalbuf.c,v 1.18 1999/07/15 23:03:14 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/libpq/Attic/portalbuf.c,v 1.19 1999/07/16 03:12:56 momjian Exp $
*
*-------------------------------------------------------------------------
*/
......@@ -52,7 +52,7 @@
#include "postgres.h"
#include <libpq/libpq.h> /* where the declarations go */
#include "libpq/libpq.h"
PortalEntry **portals = (PortalEntry **) NULL;
size_t portals_array_size = 0;
......
......@@ -28,7 +28,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: pqcomm.c,v 1.74 1999/07/15 22:39:15 momjian Exp $
* $Id: pqcomm.c,v 1.75 1999/07/16 03:12:57 momjian Exp $
*
*-------------------------------------------------------------------------
*/
......@@ -69,7 +69,7 @@
#include <signal.h>
#include <errno.h>
#include <fcntl.h>
#include <unistd.h> /* for ttyname() */
#include <unistd.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/socket.h>
......@@ -79,7 +79,7 @@
#include <arpa/inet.h>
#include <sys/file.h>
#include "libpq/libpq.h" /* where my declarations go */
#include "libpq/libpq.h"
#include "miscadmin.h"
#ifndef SOMAXCONN
......
......@@ -5,7 +5,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: util.c,v 1.11 1999/07/15 23:03:14 momjian Exp $
* $Id: util.c,v 1.12 1999/07/16 03:12:57 momjian Exp $
*
*-------------------------------------------------------------------------
*/
......@@ -21,7 +21,7 @@
#include <string.h>
#include "postgres.h"
#include <libpq/libpq.h> /* where the declarations go */
#include "libpq/libpq.h"
/* ----------------
......
......@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/main/main.c,v 1.25 1999/07/15 23:03:15 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/main/main.c,v 1.26 1999/07/16 03:12:58 momjian Exp $
*
*-------------------------------------------------------------------------
*/
......@@ -27,8 +27,8 @@
#include <locale.h>
#endif
#include "miscadmin.h"
#include "bootstrap/bootstrap.h"/* for BootstrapMain() */
#include "tcop/tcopprot.h" /* for PostgresMain() */
#include "bootstrap/bootstrap.h"
#include "tcop/tcopprot.h"
#define NOROOTEXEC "\
\n\"root\" execution of the PostgreSQL backend is not permitted.\n\n\
......
......@@ -9,13 +9,13 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/optimizer/path/_deadcode/Attic/xfunc.c,v 1.6 1999/07/15 15:19:19 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/optimizer/path/_deadcode/Attic/xfunc.c,v 1.7 1999/07/16 03:13:02 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#include <math.h> /* for MAXFLOAT on most systems */
#include <math.h>
#include <values.h> /* for MAXFLOAT on SunOS */
#include <values.h>
#include <string.h>
#include "postgres.h"
......@@ -35,8 +35,8 @@
#include "optimizer/internal.h"
#include "optimizer/keys.h"
#include "optimizer/pathnode.h"
#include "optimizer/tlist.h" /* for get_expr */
#include "storage/buf_internals.h" /* for NBuffers */
#include "optimizer/tlist.h"
#include "storage/buf_internals.h"
#include "tcop/dest.h"
#include "utils/syscache.h"
......
......@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/optimizer/path/clausesel.c,v 1.21 1999/07/15 22:39:22 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/optimizer/path/clausesel.c,v 1.22 1999/07/16 03:12:59 momjian Exp $
*
*-------------------------------------------------------------------------
*/
......@@ -19,7 +19,7 @@
#include "optimizer/cost.h"
#include "optimizer/internal.h"
#include "optimizer/plancat.h"
#include "parser/parsetree.h" /* for getrelid() */
#include "parser/parsetree.h"
#include "utils/lsyscache.h"
......
......@@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/optimizer/path/indxpath.c,v 1.59 1999/07/15 22:39:23 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/optimizer/path/indxpath.c,v 1.60 1999/07/16 03:13:00 momjian Exp $
*
*-------------------------------------------------------------------------
*/
......@@ -31,10 +31,10 @@
#include "optimizer/paths.h"
#include "optimizer/plancat.h"
#include "optimizer/pathnode.h"
#include "parser/parsetree.h" /* for getrelid() */
#include "parser/parse_expr.h" /* for exprType() */
#include "parser/parse_oper.h" /* for oprid() and oper() */
#include "parser/parse_coerce.h"/* for IS_BINARY_COMPATIBLE() */
#include "parser/parsetree.h"
#include "parser/parse_expr.h"
#include "parser/parse_oper.h"
#include "parser/parse_coerce.h"
#include "utils/lsyscache.h"
......
......@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/optimizer/path/joinpath.c,v 1.39 1999/07/15 22:39:24 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/optimizer/path/joinpath.c,v 1.40 1999/07/16 03:13:00 momjian Exp $
*
*-------------------------------------------------------------------------
*/
......@@ -20,8 +20,7 @@
#include "optimizer/paths.h"
#include "optimizer/pathnode.h"
#include "optimizer/cost.h" /* for _enable_{hashjoin,
* _enable_mergejoin} */
#include "optimizer/cost.h"
static Path *best_innerjoin(List *join_paths, List *outer_relid);
static List *sort_inner_and_outer(RelOptInfo *joinrel, RelOptInfo *outerrel, RelOptInfo *innerrel,
......
......@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/optimizer/prep/preptlist.c,v 1.24 1999/07/15 22:39:29 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/optimizer/prep/preptlist.c,v 1.25 1999/07/16 03:13:03 momjian Exp $
*
*-------------------------------------------------------------------------
*/
......@@ -21,7 +21,7 @@
#include "utils/syscache.h"
#include "utils/lsyscache.h"
#include "parser/parsetree.h" /* for getrelid() */
#include "parser/parsetree.h"
#include "optimizer/prep.h"
#include "optimizer/clauses.h"
......
......@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/optimizer/util/Attic/indexnode.c,v 1.17 1999/07/15 22:39:30 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/optimizer/util/Attic/indexnode.c,v 1.18 1999/07/16 03:13:04 momjian Exp $
*
*-------------------------------------------------------------------------
*/
......@@ -17,7 +17,7 @@
#include "optimizer/plancat.h"
#include "optimizer/pathnode.h" /* where the decls go */
#include "optimizer/pathnode.h"
static List *find_secondary_index(Query *root, Oid relid);
......
......@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/optimizer/util/pathnode.c,v 1.44 1999/07/15 22:39:31 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/optimizer/util/pathnode.c,v 1.45 1999/07/16 03:13:04 momjian Exp $
*
*-------------------------------------------------------------------------
*/
......@@ -23,7 +23,7 @@
#include "optimizer/keys.h"
#include "optimizer/ordering.h"
#include "parser/parsetree.h" /* for getrelid() */
#include "parser/parsetree.h"
static Path *better_path(Path *new_path, List *unique_paths, bool *is_new);
......
......@@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/optimizer/util/plancat.c,v 1.32 1999/07/15 22:39:32 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/optimizer/util/plancat.c,v 1.33 1999/07/16 03:13:05 momjian Exp $
*
*-------------------------------------------------------------------------
*/
......@@ -23,7 +23,7 @@
#include "catalog/pg_amop.h"
#include "catalog/pg_inherits.h"
#include "parser/parsetree.h" /* for getrelid() */
#include "parser/parsetree.h"
#include "optimizer/internal.h"
#include "optimizer/plancat.h"
......
......@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/optimizer/util/relnode.c,v 1.17 1999/07/15 22:39:32 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/optimizer/util/relnode.c,v 1.18 1999/07/16 03:13:05 momjian Exp $
*
*-------------------------------------------------------------------------
*/
......@@ -15,7 +15,7 @@
#include "optimizer/internal.h"
#include "optimizer/pathnode.h" /* where the decls go */
#include "optimizer/pathnode.h"
#include "optimizer/plancat.h"
......
......@@ -6,7 +6,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: bsd.h,v 1.4 1999/07/15 23:03:19 momjian Exp $
* $Id: bsd.h,v 1.5 1999/07/16 03:13:09 momjian Exp $
*
*-------------------------------------------------------------------------
*/
......@@ -19,7 +19,7 @@
#include "postgres.h"
#include "fmgr.h" /* for func_ptr */
#include "fmgr.h"
#include "utils/dynamic_loader.h"
/* dynloader.c */
......
......@@ -13,7 +13,7 @@
#ifndef PORT_PROTOS_H
#define PORT_PROTOS_H
#include "fmgr.h" /* for func_ptr */
#include "fmgr.h"
#include "utils/dynamic_loader.h"
/* dynloader.c */
......
......@@ -4,7 +4,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: dgux.h,v 1.5 1999/02/13 23:17:19 momjian Exp $
* $Id: dgux.h,v 1.6 1999/07/16 03:13:10 momjian Exp $
*
*-------------------------------------------------------------------------
*/
......@@ -12,7 +12,7 @@
#define PORT_PROTOS_H
#include <dlfcn.h>
#include "fmgr.h" /* for func_ptr */
#include "fmgr.h"
#include "utils/dynamic_loader.h"
/*
......
......@@ -6,7 +6,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: freebsd.h,v 1.3 1999/07/15 23:03:20 momjian Exp $
* $Id: freebsd.h,v 1.4 1999/07/16 03:13:10 momjian Exp $
*
*-------------------------------------------------------------------------
*/
......@@ -19,7 +19,7 @@
#include "postgres.h"
#include "fmgr.h" /* for func_ptr */
#include "fmgr.h"
#include "utils/dynamic_loader.h"
/* dynloader.c */
......
......@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/port/dynloader/hpux.c,v 1.8 1999/07/15 23:03:20 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/port/dynloader/hpux.c,v 1.9 1999/07/16 03:13:11 momjian Exp $
*
* NOTES
* all functions are defined here -- it's impossible to trace the
......@@ -20,9 +20,9 @@
#include <a.out.h>
#include "dl.h"
#include "postgres.h"
#include "dynloader.h"
#include "fmgr.h"
#include "utils/dynamic_loader.h"
#include "dynloader.h"
void *
pg_dlopen(char *filename)
......
......@@ -14,7 +14,7 @@
#define PORT_PROTOS_H
#include <dlfcn.h>
#include "fmgr.h" /* for func_ptr */
#include "fmgr.h"
#include "utils/dynamic_loader.h"
/* dynloader.c */
......
......@@ -6,14 +6,14 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: linux.h,v 1.6 1999/07/15 23:03:20 momjian Exp $
* $Id: linux.h,v 1.7 1999/07/16 03:13:12 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef PORT_PROTOS_H
#define PORT_PROTOS_H
#include "fmgr.h" /* for func_ptr */
#include "fmgr.h"
#include "utils/dynamic_loader.h"
#ifdef __ELF__
#include <dlfcn.h>
......
......@@ -9,7 +9,7 @@
#ifndef PORT_PROTOS_H
#define PORT_PROTOS_H
#include "fmgr.h" /* for func_ptr */
#include "fmgr.h"
#include "utils/dynamic_loader.h"
void *next_dlopen(char *name);
......
......@@ -6,7 +6,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: sco.h,v 1.3 1999/02/13 23:17:25 momjian Exp $
* $Id: sco.h,v 1.4 1999/07/16 03:13:13 momjian Exp $
*
*-------------------------------------------------------------------------
*/
......@@ -14,7 +14,7 @@
#define PORT_PROTOS_H
#include <dlfcn.h>
#include "fmgr.h" /* for func_ptr */
#include "fmgr.h"
#include "utils/dynamic_loader.h"
/* dynloader.c */
......
......@@ -6,7 +6,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: solaris_i386.h,v 1.3 1999/02/13 23:17:25 momjian Exp $
* $Id: solaris_i386.h,v 1.4 1999/07/16 03:13:13 momjian Exp $
*
*-------------------------------------------------------------------------
*/
......@@ -14,7 +14,7 @@
#define PORT_PROTOS_H
#include <dlfcn.h>
#include "fmgr.h" /* for func_ptr */
#include "fmgr.h"
#include "utils/dynamic_loader.h"
/* dynloader.c */
......
......@@ -6,7 +6,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: solaris_sparc.h,v 1.3 1999/02/13 23:17:26 momjian Exp $
* $Id: solaris_sparc.h,v 1.4 1999/07/16 03:13:14 momjian Exp $
*
*-------------------------------------------------------------------------
*/
......@@ -18,7 +18,7 @@
#include <dlfcn.h>
#include "fmgr.h" /* for func_ptr */
#include "fmgr.h"
#include "utils/dynamic_loader.h"
/* dynloader.c */
......
......@@ -6,7 +6,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: sunos4.h,v 1.3 1999/02/13 23:17:27 momjian Exp $
* $Id: sunos4.h,v 1.4 1999/07/16 03:13:14 momjian Exp $
*
*-------------------------------------------------------------------------
*/
......@@ -14,7 +14,7 @@
#define PORT_PROTOS_H
#include <dlfcn.h>
#include "fmgr.h" /* for func_ptr */
#include "fmgr.h"
#include "utils/dynamic_loader.h"
/* dynloader.c */
......
......@@ -6,7 +6,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: svr4.h,v 1.3 1999/02/13 23:17:27 momjian Exp $
* $Id: svr4.h,v 1.4 1999/07/16 03:13:15 momjian Exp $
*
*-------------------------------------------------------------------------
*/
......@@ -14,7 +14,7 @@
#define DYNLOADER_H
#include <dlfcn.h>
#include "fmgr.h" /* for func_ptr */
#include "fmgr.h"
#include "utils/dynamic_loader.h"
/* dynloader.h */
......
......@@ -6,7 +6,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: ultrix4.h,v 1.4 1999/07/15 23:03:21 momjian Exp $
* $Id: ultrix4.h,v 1.5 1999/07/16 03:13:15 momjian Exp $
*
*-------------------------------------------------------------------------
*/
......@@ -34,7 +34,7 @@
#ifndef _DL_HEADER_
#define _DL_HEADER_
#include <stdio.h> /* needed to declare FILE for ldfcn.h */
#include <stdio.h>
#include "filehdr.h"
#include "syms.h"
#include "ldfcn.h"
......
......@@ -14,7 +14,7 @@
#define PORT_PROTOS_H
#include <dlfcn.h>
#include "fmgr.h" /* for func_ptr */
#include "fmgr.h"
#include "utils/dynamic_loader.h"
/* dynloader.c */
......
......@@ -14,7 +14,7 @@
#define PORT_PROTOS_H
#include <dlfcn.h>
#include "fmgr.h" /* for func_ptr */
#include "fmgr.h"
#include "utils/dynamic_loader.h"
/* dynloader.c */
......
......@@ -14,7 +14,7 @@
#define PORT_PROTOS_H
#include <dlfcn.h>
#include "fmgr.h" /* for func_ptr */
#include "fmgr.h"
#include "utils/dynamic_loader.h"
/* dynloader.c */
......
......@@ -6,15 +6,15 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: port-protos.h,v 1.7 1999/02/13 23:17:34 momjian Exp $
* $Id: port-protos.h,v 1.8 1999/07/16 03:13:18 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef PORT_PROTOS_H
#define PORT_PROTOS_H
#include <sys/resource.h> /* for struct rusage */
#include <dl.h> /* for shl_t */
#include <sys/resource.h>
#include "dl.h"
#include "utils/dynamic_loader.h"
......
/* $Id: random.c,v 1.7 1999/07/15 15:19:33 momjian Exp $ */
/* $Id: random.c,v 1.8 1999/07/16 03:13:06 momjian Exp $ */
#include <stdlib.h>
#include <math.h> /* for pow() prototype */
#include <math.h>
#include <errno.h>
long
......
/* $Id: srandom.c,v 1.7 1999/07/15 15:19:34 momjian Exp $ */
/* $Id: srandom.c,v 1.8 1999/07/16 03:13:08 momjian Exp $ */
#include <stdlib.h>
#include <math.h> /* for pow() prototype */
#include <math.h>
#include <errno.h>
void
......
......@@ -10,7 +10,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/postmaster/postmaster.c,v 1.110 1999/07/15 23:03:22 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/postmaster/postmaster.c,v 1.111 1999/07/16 03:13:19 momjian Exp $
*
* NOTES
*
......@@ -33,9 +33,9 @@
*-------------------------------------------------------------------------
*/
/* moved here to prevent double define */
#include <sys/param.h> /* for MAXHOSTNAMELEN on most */
#include <sys/param.h>
#ifdef HAVE_NETDB_H
#include <netdb.h> /* for MAXHOSTNAMELEN on some */
#include <netdb.h>
#endif
#ifndef MAXHOSTNAMELEN
......@@ -54,8 +54,8 @@
#endif /* !NO_UNISTD_H */
#include <ctype.h>
#include <sys/types.h> /* for fd_set stuff */
#include <sys/stat.h> /* for umask */
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/time.h>
#include <sys/socket.h>
#ifdef HAVE_LIMITS_H
......@@ -91,7 +91,7 @@
#include "nodes/nodes.h"
#include "storage/proc.h"
#ifndef HAVE_GETHOSTNAME
#include "port-protos.h" /* For gethostname() */
#include "port-protos.h"
#endif
#include "storage/fd.h"
#include "utils/trace.h"
......
......@@ -6,15 +6,15 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/rewrite/Attic/locks.c,v 1.19 1999/07/15 22:39:42 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/rewrite/Attic/locks.c,v 1.20 1999/07/16 03:13:20 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#include "postgres.h" /* for oid defs */
#include "utils/syscache.h" /* for SearchSysCache */
#include "rewrite/locks.h" /* for rewrite specific lock defns */
#include "postgres.h"
#include "utils/syscache.h"
#include "rewrite/locks.h"
#include "access/heapam.h" /* for ACL checking */
#include "access/heapam.h"
#include "utils/syscache.h"
#include "utils/acl.h"
#include "utils/builtins.h"
......
......@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/rewrite/rewriteDefine.c,v 1.32 1999/07/15 22:39:42 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/rewrite/rewriteDefine.c,v 1.33 1999/07/16 03:13:21 momjian Exp $
*
*-------------------------------------------------------------------------
*/
......@@ -16,7 +16,7 @@
#include "postgres.h"
#include "access/heapam.h" /* access methods like amopenr */
#include "access/heapam.h"
#include "catalog/pg_rewrite.h"
#include "parser/parse_relation.h"
#include "rewrite/rewriteDefine.h"
......
......@@ -6,7 +6,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/rewrite/rewriteHandler.c,v 1.51 1999/07/15 22:39:43 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/rewrite/rewriteHandler.c,v 1.52 1999/07/16 03:13:22 momjian Exp $
*
*-------------------------------------------------------------------------
*/
......@@ -14,7 +14,7 @@
#include "postgres.h"
#include "miscadmin.h"
#include "parser/parse_type.h"
#include "parser/parsetree.h" /* for parsetree manipulation */
#include "parser/parsetree.h"
#include "parser/parse_relation.h"
#include "parser/parse_target.h"
......
......@@ -6,13 +6,13 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/rewrite/rewriteManip.c,v 1.35 1999/07/15 22:39:44 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/rewrite/rewriteManip.c,v 1.36 1999/07/16 03:13:23 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#include <string.h>
#include "postgres.h"
#include "parser/parsetree.h" /* for getrelid() */
#include "parser/parsetree.h"
#include "utils/lsyscache.h"
#include "utils/builtins.h"
#include "rewrite/rewriteManip.h"
......
......@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/rewrite/rewriteRemove.c,v 1.25 1999/07/15 22:39:45 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/rewrite/rewriteRemove.c,v 1.26 1999/07/16 03:13:23 momjian Exp $
*
*-------------------------------------------------------------------------
*/
......@@ -17,12 +17,12 @@
#include "postgres.h"
#include "access/heapam.h" /* heap AM calls defined here */
#include "catalog/catname.h" /* for RewriteRelationName */
#include "access/heapam.h"
#include "catalog/catname.h"
#include "catalog/pg_rewrite.h"
#include "utils/syscache.h"
#include "rewrite/rewriteRemove.h" /* where the decls go */
#include "rewrite/rewriteRemove.h"
#include "rewrite/rewriteSupport.h"
/*-----------------------------------------------------------------------
......
......@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/rewrite/rewriteSupport.c,v 1.34 1999/07/15 22:39:45 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/rewrite/rewriteSupport.c,v 1.35 1999/07/16 03:13:24 momjian Exp $
*
*-------------------------------------------------------------------------
*/
......@@ -16,8 +16,8 @@
#include "access/heapam.h"
#include "catalog/catname.h"
#include "catalog/indexing.h"
#include "utils/catcache.h" /* for CacheContext */
#include "utils/syscache.h" /* for SearchSysCache */
#include "utils/catcache.h"
#include "utils/syscache.h"
#include "rewrite/rewriteSupport.h"
......
......@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/storage/buffer/buf_init.c,v 1.25 1999/06/26 15:58:28 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/storage/buffer/buf_init.c,v 1.26 1999/07/16 03:13:25 momjian Exp $
*
*-------------------------------------------------------------------------
*/
......@@ -35,7 +35,7 @@
#include "utils/builtins.h"
#include "utils/hsearch.h"
#include "utils/memutils.h"
#include "executor/execdebug.h" /* for NDirectFileRead */
#include "executor/execdebug.h"
#include "catalog/catalog.h"
/*
......
......@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/storage/buffer/bufmgr.c,v 1.58 1999/07/15 22:39:47 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/storage/buffer/bufmgr.c,v 1.59 1999/07/16 03:13:28 momjian Exp $
*
*-------------------------------------------------------------------------
*/
......@@ -55,7 +55,7 @@
#include "storage/smgr.h"
#include "miscadmin.h"
#include "utils/relcache.h"
#include "executor/execdebug.h" /* for NDirectFileRead */
#include "executor/execdebug.h"
extern SPINLOCK BufMgrLock;
extern long int ReadBufferCount;
......
......@@ -15,7 +15,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/storage/buffer/localbuf.c,v 1.23 1999/07/15 22:39:47 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/storage/buffer/localbuf.c,v 1.24 1999/07/16 03:13:28 momjian Exp $
*
*-------------------------------------------------------------------------
*/
......@@ -32,7 +32,7 @@
#include "storage/smgr.h"
#include "utils/relcache.h"
#include "executor/execdebug.h" /* for NDirectFileRead */
#include "executor/execdebug.h"
extern long int LocalBufferFlushCount;
......
......@@ -6,7 +6,7 @@
* Copyright (c) 1994, Regents of the University of California
*
* IDENTIFICATION
* $Id: fd.c,v 1.45 1999/07/15 15:19:47 momjian Exp $
* $Id: fd.c,v 1.46 1999/07/16 03:13:31 momjian Exp $
*
* NOTES:
*
......@@ -48,7 +48,7 @@
#include <fcntl.h>
#include "postgres.h"
#include "miscadmin.h" /* for DataDir */
#include "miscadmin.h"
#include "storage/fd.h"
/*
......
......@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/storage/ipc/ipci.c,v 1.27 1999/07/15 22:39:48 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/storage/ipc/ipci.c,v 1.28 1999/07/16 03:13:34 momjian Exp $
*
*-------------------------------------------------------------------------
*/
......@@ -18,7 +18,7 @@
#include "storage/sinval.h"
#include "storage/bufmgr.h"
#include "miscadmin.h" /* for DebugLvl */
#include "miscadmin.h"
/*
* SystemPortAddressCreateMemoryKey
......
......@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/storage/ipc/shmqueue.c,v 1.10 1999/02/13 23:18:13 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/storage/ipc/shmqueue.c,v 1.11 1999/07/16 03:13:35 momjian Exp $
*
* NOTES
*
......@@ -22,9 +22,9 @@
*
*-------------------------------------------------------------------------
*/
#include <stdio.h> /* for sprintf() */
#include <stdio.h>
#include "postgres.h"
#include "storage/shmem.h" /* where the declarations go */
#include "storage/shmem.h"
/*#define SHMQUEUE_DEBUG*/
#ifdef SHMQUEUE_DEBUG
......
......@@ -8,12 +8,12 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/storage/large_object/inv_api.c,v 1.54 1999/07/15 22:39:49 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/storage/large_object/inv_api.c,v 1.55 1999/07/16 03:13:37 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#include <sys/types.h>
#include <stdio.h> /* for sprintf() */
#include <stdio.h>
#include <string.h>
#include <sys/file.h>
#include <sys/stat.h>
......
......@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/storage/lmgr/lmgr.c,v 1.30 1999/07/15 22:39:50 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/storage/lmgr/lmgr.c,v 1.31 1999/07/16 03:13:40 momjian Exp $
*
*-------------------------------------------------------------------------
*/
......@@ -27,7 +27,7 @@
#include "catalog/catalog.h"
#include "access/transam.h" /* for AmiTransactionId */
#include "access/transam.h"
extern Oid MyDatabaseId;
......
......@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/storage/lmgr/lock.c,v 1.58 1999/07/15 22:39:51 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/storage/lmgr/lock.c,v 1.59 1999/07/16 03:13:43 momjian Exp $
*
* NOTES
* Outside modules can create a lock table and acquire/release
......@@ -29,7 +29,7 @@
*
*-------------------------------------------------------------------------
*/
#include <stdio.h> /* for sprintf() */
#include <stdio.h>
#include <string.h>
#include <sys/types.h>
#include <unistd.h>
......
......@@ -12,7 +12,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/storage/lmgr/Attic/multi.c,v 1.30 1999/07/15 20:32:27 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/storage/lmgr/Attic/multi.c,v 1.31 1999/07/16 03:13:45 momjian Exp $
*
* NOTES:
* (1) The lock.c module assumes that the caller here is doing
......@@ -27,7 +27,7 @@
#include "storage/multilev.h"
#include "utils/rel.h"
#include "miscadmin.h" /* MyDatabaseId */
#include "miscadmin.h"
static bool MultiAcquire(LOCKMETHOD lockmethod, LOCKTAG *tag,
LOCKMODE lockmode, PG_LOCK_LEVEL level);
......
......@@ -13,7 +13,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/storage/lmgr/Attic/single.c,v 1.10 1999/02/13 23:18:29 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/storage/lmgr/Attic/single.c,v 1.11 1999/07/16 03:13:46 momjian Exp $
*
*-------------------------------------------------------------------------
*/
......@@ -21,7 +21,7 @@
#include "postgres.h"
#include "storage/lmgr.h" /* where the declarations go */
#include "storage/lmgr.h"
#include "storage/lock.h"
#include "storage/multilev.h"
#include "utils/rel.h"
......
......@@ -7,21 +7,21 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/storage/smgr/md.c,v 1.48 1999/07/15 22:39:54 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/storage/smgr/md.c,v 1.49 1999/07/16 03:13:47 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#include <unistd.h>
#include <stdio.h> /* for sprintf() */
#include <stdio.h>
#include <string.h>
#include <fcntl.h> /* for open() flags */
#include <fcntl.h>
#include <sys/file.h>
#include "postgres.h"
#include "miscadmin.h" /* for DataDir */
#include "miscadmin.h"
#include "catalog/catalog.h"
#include "storage/smgr.h" /* where the declarations go */
#include "storage/smgr.h"
#undef DIAGNOSTIC
......
......@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/tcop/dest.c,v 1.33 1999/07/15 22:39:55 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/tcop/dest.c,v 1.34 1999/07/16 03:13:49 momjian Exp $
*
*-------------------------------------------------------------------------
*/
......@@ -32,7 +32,7 @@
* versa --- so I think I'll just leave 'em alone for now. tgl 1/99.
*
*/
#include <stdio.h> /* for sprintf() */
#include <stdio.h>
#include <string.h>
#include "postgres.h"
......
......@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/tcop/fastpath.c,v 1.26 1999/07/15 22:39:56 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/tcop/fastpath.c,v 1.27 1999/07/16 03:13:50 momjian Exp $
*
* NOTES
* This cruft is the server side of PQfn.
......@@ -62,12 +62,12 @@
#include "postgres.h"
#include "utils/builtins.h" /* for oideq */
#include "utils/builtins.h"
#include "tcop/fastpath.h"
#include "libpq/libpq.h"
#include "libpq/pqformat.h"
#include "access/xact.h" /* for TransactionId/CommandId protos */
#include "access/xact.h"
#include "utils/syscache.h"
#include "catalog/pg_proc.h"
......
......@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/tcop/postgres.c,v 1.121 1999/07/15 22:39:56 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/tcop/postgres.c,v 1.122 1999/07/16 03:13:50 momjian Exp $
*
* NOTES
* this is the "main" module of the postgres backend and
......@@ -24,9 +24,9 @@
#include <sys/time.h>
#include <sys/types.h>
#include <fcntl.h>
#include <sys/param.h> /* for MAXHOSTNAMELEN on most */
#include <sys/param.h>
#ifndef MAXHOSTNAMELEN
#include <netdb.h> /* for MAXHOSTNAMELEN on some */
#include <netdb.h>
#endif
#ifndef MAXHOSTNAMELEN /* for MAXHOSTNAMELEN under sco3.2v5.0.2 */
#include <sys/socket.h>
......@@ -52,10 +52,10 @@
#include "optimizer/cost.h"
#include "optimizer/planner.h"
#include "parser/parser.h"
#include "rewrite/rewriteHandler.h" /* for QueryRewrite() */
#include "rewrite/rewriteHandler.h"
#include "tcop/fastpath.h"
#include "tcop/pquery.h"
#include "tcop/tcopprot.h" /* where declarations for this file go */
#include "tcop/tcopprot.h"
#include "tcop/utility.h"
#include "utils/ps_status.h"
#include "utils/temprel.h"
......@@ -1502,7 +1502,7 @@ PostgresMain(int argc, char *argv[], int real_argc, char *real_argv[])
if (!IsUnderPostmaster)
{
puts("\nPOSTGRES backend interactive interface ");
puts("$Revision: 1.121 $ $Date: 1999/07/15 22:39:56 $\n");
puts("$Revision: 1.122 $ $Date: 1999/07/16 03:13:50 $\n");
}
/* ----------------
......
......@@ -11,7 +11,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/tioga/Attic/tgRecipe.c,v 1.12 1999/05/10 00:45:49 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/tioga/Attic/tgRecipe.c,v 1.13 1999/07/16 03:13:54 momjian Exp $
*
*-------------------------------------------------------------------------
*/
......@@ -20,7 +20,7 @@
#include "postgres.h"
#include "tioga/tgRecipe.h"
#include "catalog/catalog.h" /* for newoid() */
#include "catalog/catalog.h"
static Arr_TgString *TextArray2ArrTgString(char *str);
......
......@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/adt/bool.c,v 1.18 1999/07/15 15:20:11 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/adt/bool.c,v 1.19 1999/07/16 03:13:56 momjian Exp $
*
*-------------------------------------------------------------------------
*/
......@@ -15,7 +15,7 @@
#include <string.h>
#include "postgres.h"
#include "utils/builtins.h" /* where the declarations go */
#include "utils/builtins.h"
/*****************************************************************************
* USER I/O ROUTINES *
......
......@@ -9,7 +9,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/adt/date.c,v 1.34 1999/07/15 15:20:13 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/adt/date.c,v 1.35 1999/07/16 03:13:57 momjian Exp $
*
* NOTES
* This code is actually (almost) unused.
......@@ -39,7 +39,7 @@
#include <limits.h>
#endif
#include "access/xact.h"
#include "utils/builtins.h" /* where function declarations go */
#include "utils/builtins.h"
#include "utils/dt.h"
#define INVALID_RELTIME_STR "Undefined RelTime"
......
......@@ -7,11 +7,11 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/adt/datetime.c,v 1.36 1999/07/15 22:39:58 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/adt/datetime.c,v 1.37 1999/07/16 03:13:58 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#include <stdio.h> /* for sprintf() */
#include <stdio.h>
#include <string.h>
#include <limits.h>
......
......@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/adt/Attic/filename.c,v 1.20 1999/07/15 23:03:26 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/adt/Attic/filename.c,v 1.21 1999/07/16 03:14:00 momjian Exp $
*
*-------------------------------------------------------------------------
*/
......@@ -20,7 +20,7 @@
#include "postgres.h"
#include "miscadmin.h"
#include "utils/builtins.h" /* where function declarations go */
#include "utils/builtins.h"
char *
filename_in(char *file)
......
......@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/adt/float.c,v 1.45 1999/07/15 15:20:16 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/adt/float.c,v 1.46 1999/07/16 03:14:00 momjian Exp $
*
*-------------------------------------------------------------------------
*/
......@@ -45,7 +45,7 @@
* for calls to pow(), exp() since on some machines (my Linux box
* included) these routines do not set errno. - tgl 97/05/10
*/
#include <stdio.h> /* for sprintf() */
#include <stdio.h>
#include <string.h>
#include <ctype.h>
#include <stdlib.h>
......@@ -60,7 +60,7 @@
#include <limits.h>
#endif
#include "fmgr.h"
#include "utils/builtins.h" /* for ftod() prototype */
#include "utils/builtins.h"
#ifndef NAN
#define NAN (0.0/0.0)
......
......@@ -7,15 +7,15 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/adt/geo_ops.c,v 1.43 1999/07/15 15:20:16 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/adt/geo_ops.c,v 1.44 1999/07/16 03:14:01 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#include <math.h>
#include <limits.h>
#include <float.h>
#include <stdio.h> /* for sprintf proto, etc. */
#include <stdlib.h> /* for strtod, etc. */
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
......
......@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/adt/int.c,v 1.24 1999/07/15 22:39:59 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/adt/int.c,v 1.25 1999/07/16 03:14:02 momjian Exp $
*
*-------------------------------------------------------------------------
*/
......@@ -35,7 +35,7 @@
#endif
#include "postgres.h"
#include "utils/builtins.h" /* where the declarations go */
#include "utils/builtins.h"
#ifndef SHRT_MAX
#define SHRT_MAX (0x7FFF)
......
......@@ -5,8 +5,8 @@
*
*-------------------------------------------------------------------------
*/
#include <stdio.h> /* for sprintf proto, etc. */
#include <stdlib.h> /* for strtod, etc. */
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include <time.h>
......
......@@ -18,8 +18,8 @@
*-------------------------------------------------------------------------
*/
#include <string.h>
#include "postgres.h" /* postgres system include file */
#include "utils/builtins.h" /* where the function declarations go */
#include "postgres.h"
#include "utils/builtins.h"
#include "mb/pg_wchar.h"
static int like(pg_wchar * text, pg_wchar * p);
......@@ -110,7 +110,7 @@ textnlike(struct varlena * s, struct varlena * p)
}
/* $Revision: 1.27 $
/* $Revision: 1.28 $
** "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.
......
......@@ -11,13 +11,13 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/adt/name.c,v 1.20 1999/07/15 15:20:18 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/adt/name.c,v 1.21 1999/07/16 03:14:04 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#include <string.h>
#include "postgres.h"
#include "utils/builtins.h" /* where the declarations go */
#include "utils/builtins.h"
/*****************************************************************************
* USER I/O ROUTINES (none) *
......
......@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/adt/Attic/not_in.c,v 1.17 1999/07/15 22:40:00 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/adt/Attic/not_in.c,v 1.18 1999/07/16 03:14:04 momjian Exp $
*
*-------------------------------------------------------------------------
*/
......@@ -26,7 +26,7 @@
#include <string.h>
#include "postgres.h"
#include "access/heapam.h"
#include "utils/builtins.h" /* where function decls go */
#include "utils/builtins.h"
static int my_varattno(Relation rd, char *a);
......
......@@ -10,18 +10,18 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/adt/numutils.c,v 1.35 1999/07/15 22:40:00 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/adt/numutils.c,v 1.36 1999/07/16 03:14:06 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#include <stdio.h> /* for sprintf() */
#include <stdio.h>
#include <errno.h>
#include <math.h>
#ifdef HAVE_LIMITS_H
#include <limits.h>
#endif
#include "postgres.h"
#include "utils/builtins.h" /* where the declarations go */
#include "utils/builtins.h"
#ifndef HAVE_MEMMOVE
#else
#include <string.h>
......
......@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/adt/oid.c,v 1.25 1999/07/15 15:20:19 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/adt/oid.c,v 1.26 1999/07/16 03:14:06 momjian Exp $
*
*-------------------------------------------------------------------------
*/
......@@ -16,7 +16,7 @@
#include <string.h>
#include "postgres.h"
#include "utils/builtins.h" /* where function declarations go */
#include "utils/builtins.h"
/*****************************************************************************
* USER I/O ROUTINES *
......
......@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/adt/regexp.c,v 1.25 1999/07/15 23:03:27 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/adt/regexp.c,v 1.26 1999/07/16 03:14:07 momjian Exp $
*
* Alistair Crooks added the code for the regex caching
* agc - cached the regular expressions used - there's a good chance
......@@ -28,11 +28,11 @@
*-------------------------------------------------------------------------
*/
#include <string.h>
#include "postgres.h" /* postgres system include file */
#include "postgres.h"
#include "regex/regex.h"
#include "utils/builtins.h" /* where the function declarations go */
#include "utils/builtins.h"
#if defined(DISABLE_XOPEN_NLS)
#undef _XOPEN_SOURCE
......
......@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/adt/regproc.c,v 1.39 1999/07/15 22:40:00 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/adt/regproc.c,v 1.40 1999/07/16 03:14:08 momjian Exp $
*
*-------------------------------------------------------------------------
*/
......@@ -22,7 +22,7 @@
#include "catalog/indexing.h"
#include "catalog/pg_proc.h"
#include "catalog/pg_type.h"
#include "utils/builtins.h" /* where function declarations go */
#include "utils/builtins.h"
/*****************************************************************************
* USER I/O ROUTINES *
......
......@@ -12,7 +12,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/adt/selfuncs.c,v 1.32 1999/07/15 22:40:01 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/adt/selfuncs.c,v 1.33 1999/07/16 03:14:09 momjian Exp $
*
*-------------------------------------------------------------------------
*/
......@@ -22,12 +22,11 @@
#include "postgres.h"
#include "access/heapam.h"
#include "utils/builtins.h" /* for textout() prototype and where the
* declarations go */
#include "utils/builtins.h"
#include "catalog/catname.h"
#include "utils/syscache.h"
#include "utils/lsyscache.h" /* for get_oprrest() */
#include "utils/lsyscache.h"
#include "catalog/pg_statistic.h"
/* N is not a valid var/constant or relation id */
......
......@@ -9,21 +9,21 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/adt/Attic/sets.c,v 1.22 1999/07/15 22:40:01 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/adt/Attic/sets.c,v 1.23 1999/07/16 03:14:09 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#include <stdio.h> /* for sprintf() */
#include <stdio.h>
#include <string.h>
#include "postgres.h"
#include "access/heapam.h"
#include "catalog/pg_proc.h" /* for Form_pg_proc */
#include "catalog/catname.h" /* for ProcedureRelationName */
#include "catalog/indexing.h" /* for Num_pg_proc_indices */
#include "utils/sets.h" /* for GENERICSETNAME */
#include "utils/syscache.h" /* for PROOID */
#include "catalog/pg_proc.h"
#include "catalog/catname.h"
#include "catalog/indexing.h"
#include "utils/sets.h"
#include "utils/syscache.h"
extern CommandDest whereToSendOutput; /* defined in tcop/postgres.c */
......
......@@ -7,18 +7,18 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/adt/tid.c,v 1.9 1999/07/15 22:40:01 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/adt/tid.c,v 1.10 1999/07/16 03:14:11 momjian Exp $
*
* NOTES
* input routine largely stolen from boxin().
*
*-------------------------------------------------------------------------
*/
#include <stdio.h> /* for sprintf() */
#include <stdio.h>
#include <string.h>
#include "postgres.h"
#include "utils/builtins.h" /* where function declarations go */
#include "utils/builtins.h"
#define LDELIM '('
#define RDELIM ')'
......
......@@ -7,11 +7,11 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/adt/varchar.c,v 1.50 1999/07/15 22:40:01 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/adt/varchar.c,v 1.51 1999/07/16 03:14:12 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#include <stdio.h> /* for sprintf() */
#include <stdio.h>
#include <string.h>
#include "postgres.h"
#include "access/htup.h"
......
......@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/adt/varlena.c,v 1.50 1999/07/15 15:20:20 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/adt/varlena.c,v 1.51 1999/07/16 03:14:13 momjian Exp $
*
*-------------------------------------------------------------------------
*/
......@@ -15,7 +15,7 @@
#include <string.h>
#include "postgres.h"
#include "utils/builtins.h" /* where function declarations go */
#include "utils/builtins.h"
#include "mb/pg_wchar.h"
......
......@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/cache/catcache.c,v 1.45 1999/07/15 22:40:02 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/cache/catcache.c,v 1.46 1999/07/16 03:14:15 momjian Exp $
*
*-------------------------------------------------------------------------
*/
......@@ -19,7 +19,7 @@
#include "utils/catcache.h"
#include "access/valid.h"
#include "miscadmin.h"
#include "catalog/pg_type.h" /* for OID of int28 type */
#include "catalog/pg_type.h"
static void CatCacheRemoveCTup(CatCache *cache, Dlelem *e);
static Index CatalogCacheComputeHashIndex(struct catcache * cacheInP);
......
......@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/cache/Attic/fcache.c,v 1.23 1999/07/15 22:40:03 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/cache/Attic/fcache.c,v 1.24 1999/07/16 03:14:16 momjian Exp $
*
*-------------------------------------------------------------------------
*/
......@@ -18,7 +18,7 @@
#include "catalog/pg_type.h"
#include "catalog/pg_proc.h"
#include "catalog/pg_language.h"
#include "parser/parsetree.h" /* for getrelname() */
#include "parser/parsetree.h"
#include "utils/builtins.h"
#include "utils/fcache2.h"
#ifndef HAVE_MEMMOVE
......
......@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/cache/inval.c,v 1.25 1999/07/15 23:03:27 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/cache/inval.c,v 1.26 1999/07/16 03:14:17 momjian Exp $
*
* Note - this code is real crufty...
*
......@@ -23,7 +23,7 @@
#include "utils/catcache.h"
#include "utils/inval.h"
#include "utils/relcache.h"
#include "catalog/catname.h" /* XXX to support hacks below */
#include "catalog/catname.h"
static InvalidationEntry InvalidationEntryAllocate(uint16 size);
static void LocalInvalidInvalidate(LocalInvalid invalid, void (*function) ());
......
......@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/cache/relcache.c,v 1.64 1999/07/15 22:40:04 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/cache/relcache.c,v 1.65 1999/07/16 03:14:18 momjian Exp $
*
*-------------------------------------------------------------------------
*/
......@@ -30,7 +30,7 @@
*
*/
#include <sys/types.h>
#include <stdio.h> /* for sprintf() */
#include <stdio.h>
#include <errno.h>
#include <sys/file.h>
#include <fcntl.h>
......
......@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/error/assert.c,v 1.14 1999/07/15 22:40:05 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/error/assert.c,v 1.15 1999/07/16 03:14:20 momjian Exp $
*
* NOTE
* This should eventually work with elog(), dlog(), etc.
......@@ -17,7 +17,7 @@
#include <stdio.h>
#include <unistd.h>
#include "postgres.h" /* where the declaration goes */
#include "postgres.h"
#include "utils/exc.h"
#include "utils/trace.h"
......
......@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/error/Attic/exc.c,v 1.25 1999/05/25 16:12:26 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/error/Attic/exc.c,v 1.26 1999/07/16 03:14:22 momjian Exp $
*
* NOTE
* XXX this code needs improvement--check for state violations and
......@@ -15,7 +15,7 @@
*
*-------------------------------------------------------------------------
*/
#include <stdio.h> /* XXX use own I/O routines */
#include <stdio.h>
#include <errno.h>
#include <string.h>
......
......@@ -7,14 +7,14 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/error/Attic/excabort.c,v 1.6 1999/02/13 23:19:48 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/error/Attic/excabort.c,v 1.7 1999/07/16 03:14:22 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#include "postgres.h"
#include "utils/exc.h" /* where function declarations go */
#include "utils/exc.h"
void
ExcAbort(const Exception *excP,
......
......@@ -6,7 +6,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/init/Attic/findbe.c,v 1.14 1999/05/25 16:12:33 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/init/Attic/findbe.c,v 1.15 1999/07/16 03:14:24 momjian Exp $
*
*-------------------------------------------------------------------------
*/
......@@ -19,7 +19,7 @@
#include <unistd.h>
#include "postgres.h"
#include "miscadmin.h" /* for DebugLvl */
#include "miscadmin.h"
#ifndef S_IRUSR /* XXX [TRH] should be in a header */
#define S_IRUSR S_IREAD
......
......@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/init/globals.c,v 1.33 1999/07/15 23:03:30 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/init/globals.c,v 1.34 1999/07/16 03:14:25 momjian Exp $
*
* NOTES
* Globals used all over the place should be declared here and not
......@@ -24,7 +24,7 @@
#include <unistd.h>
#include "postgres.h"
#include "miscadmin.h" /* where the declarations go */
#include "miscadmin.h"
#include "storage/backendid.h"
#include "storage/lmgr.h"
......
......@@ -7,24 +7,24 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/init/miscinit.c,v 1.31 1999/07/15 22:40:09 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/init/miscinit.c,v 1.32 1999/07/16 03:14:26 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#include <string.h>
#include <sys/param.h> /* for MAXPATHLEN */
#include <sys/param.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/file.h>
#include <stdio.h>
#include <unistd.h>
#include <grp.h> /* for getgrgid */
#include <pwd.h> /* for getpwuid */
#include <grp.h>
#include <pwd.h>
#include "postgres.h"
#include "miscadmin.h" /* where the declarations go */
#include "miscadmin.h"
#include "catalog/catname.h"
#include "catalog/pg_shadow.h"
......
......@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/init/postinit.c,v 1.43 1999/07/15 23:03:30 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/init/postinit.c,v 1.44 1999/07/16 03:14:26 momjian Exp $
*
* NOTES
* InitPostgres() is the function called from PostgresMain
......@@ -44,12 +44,11 @@
#include "access/heapam.h"
#include "utils/syscache.h"
#include "storage/bufpage.h" /* for page layout, for
* InitMyDatabaseInfo() */
#include "storage/bufpage.h"
#include "storage/sinval.h"
#include "miscadmin.h" /* for global decls */
#include "utils/portal.h" /* for EnablePortalManager, etc. */
#include "miscadmin.h"
#include "utils/portal.h"
#include "utils/inval.h"
......
......@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/mmgr/aset.c,v 1.17 1999/07/15 22:40:12 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/mmgr/aset.c,v 1.18 1999/07/16 03:14:28 momjian Exp $
*
* NOTE:
* This is a new (Feb. 05, 1999) implementation of the allocation set
......@@ -23,7 +23,7 @@
*/
#include <stdio.h>
#include "postgres.h"
#include "utils/memutils.h" /* where funnction declarations go */
#include "utils/memutils.h"
#ifndef HAVE_MEMMOVE
#else
#include <string.h>
......
......@@ -7,11 +7,11 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/mmgr/mcxt.c,v 1.16 1999/07/15 22:40:13 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/mmgr/mcxt.c,v 1.17 1999/07/16 03:14:28 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#include <stdio.h> /* XXX for printf debugging */
#include <stdio.h>
#include "postgres.h"
......
......@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/mmgr/Attic/oset.c,v 1.13 1999/05/26 12:56:05 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/mmgr/Attic/oset.c,v 1.14 1999/07/16 03:14:29 momjian Exp $
*
* NOTE
* XXX This is a preliminary implementation which lacks fail-fast
......@@ -17,7 +17,7 @@
*/
#include "postgres.h"
#include "utils/memutils.h" /* where declarations of this file goes */
#include "utils/memutils.h"
static Pointer OrderedElemGetBase(OrderedElem elem);
static void OrderedElemPush(OrderedElem elem);
......
......@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/mmgr/portalmem.c,v 1.25 1999/07/15 22:40:13 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/mmgr/portalmem.c,v 1.26 1999/07/16 03:14:30 momjian Exp $
*
*-------------------------------------------------------------------------
*/
......@@ -73,8 +73,8 @@
* PortalHeapMemory y y y *
*
*/
#include <stdio.h> /* for sprintf() */
#include <string.h> /* for strlen, strncpy */
#include <stdio.h>
#include <string.h>
#include "postgres.h"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment