1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-13 07:41:39 +03:00

Update #include cleanups

This commit is contained in:
Bruce Momjian
1999-07-16 03:14:30 +00:00
parent a9591ce66a
commit 9b645d481c
109 changed files with 261 additions and 264 deletions

View File

@ -7,11 +7,11 @@
* Copyright (c) 1994, Regents of the University of California * Copyright (c) 1994, Regents of the University of California
* *
* IDENTIFICATION * 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 <time.h>
#include <stdio.h> #include <stdio.h>
#include <signal.h> #include <signal.h>

View File

@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * 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 * NOTES
* See acl.h. * See acl.h.
@ -17,7 +17,7 @@
#include <string.h> #include <string.h>
#include "postgres.h" #include "postgres.h"
#include "utils/acl.h" /* where declarations for this file go */ #include "utils/acl.h"
#include "access/heapam.h" #include "access/heapam.h"
#include "catalog/indexing.h" #include "catalog/indexing.h"
#include "catalog/catalog.h" #include "catalog/catalog.h"

View File

@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * 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 "postgres.h"
#include <miscadmin.h> /* for DataDir */ #include "miscadmin.h"
#include "utils/syscache.h" #include "utils/syscache.h"
#include <catalog/catname.h> /* NameIs{,Shared}SystemRelationName */ #include "catalog/catname.h"
#include "catalog/pg_type.h" #include "catalog/pg_type.h"
#include "catalog/catalog.h" #include "catalog/catalog.h"
#include "access/transam.h" #include "access/transam.h"

View File

@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * 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 "libpq/libpq-be.h"
#include "parser/parse_node.h" #include "parser/parse_node.h"
#include "utils/builtins.h" #include "utils/builtins.h"
#include <utils/relcache.h> /* for RelationNameGetRelation */ #include "utils/relcache.h"
#include "rewrite/rewriteHandler.h" #include "rewrite/rewriteHandler.h"
#include "rewrite/rewriteManip.h" #include "rewrite/rewriteManip.h"
#include "tcop/pquery.h" #include "tcop/pquery.h"

View File

@ -6,7 +6,7 @@
* Copyright (c) 1994, Regents of the University of California * Copyright (c) 1994, Regents of the University of California
* *
* IDENTIFICATION * 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 <signal.h>
#include <string.h> #include <string.h>
#include <errno.h> #include <errno.h>
#include <sys/types.h> /* Needed by in.h on Ultrix */ #include <sys/types.h>
#include <netinet/in.h> #include <netinet/in.h>
#include "postgres.h" #include "postgres.h"

View File

@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * 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/catname.h"
#include "catalog/pg_database.h" #include "catalog/pg_database.h"
#include "catalog/pg_shadow.h" #include "catalog/pg_shadow.h"
#include "miscadmin.h" /* for DataDir */ #include "miscadmin.h"
#include "tcop/tcopprot.h" #include "tcop/tcopprot.h"
#include "commands/dbcommands.h" #include "commands/dbcommands.h"
#include "utils/syscache.h" #include "utils/syscache.h"

View File

@ -9,7 +9,7 @@
* *
* *
* IDENTIFICATION * 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 * DESCRIPTION
* The "DefineFoo" routines take the parse tree and pick out the * The "DefineFoo" routines take the parse tree and pick out the
@ -47,8 +47,8 @@
#include "catalog/pg_type.h" #include "catalog/pg_type.h"
#include "catalog/pg_language.h" #include "catalog/pg_language.h"
#include "utils/syscache.h" #include "utils/syscache.h"
#include <fmgr.h> /* for fmgr */ #include "fmgr.h"
#include <utils/builtins.h> /* prototype for textin() */ #include "utils/builtins.h"
#include "commands/defrem.h" #include "commands/defrem.h"
#include "tcop/dest.h" #include "tcop/dest.h"
#include "catalog/pg_shadow.h" #include "catalog/pg_shadow.h"

View File

@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * 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_type.h"
#include "catalog/pg_opclass.h" #include "catalog/pg_opclass.h"
#include "commands/defrem.h" #include "commands/defrem.h"
#include <parser/parsetree.h> /* for getrelid() */ #include "parser/parsetree.h"
#include "optimizer/prep.h" #include "optimizer/prep.h"
#include "optimizer/clauses.h" #include "optimizer/clauses.h"

View File

@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * 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 "catalog/catalog.h"
#include "commands/rename.h" #include "commands/rename.h"
#include "miscadmin.h" #include "miscadmin.h"
#include <optimizer/prep.h> /* for find_all_inheritors */ #include "optimizer/prep.h"
#ifndef NO_SECURITY #ifndef NO_SECURITY
#include "utils/acl.h" #include "utils/acl.h"
#endif /* !NO_SECURITY */ #endif /* !NO_SECURITY */

View File

@ -5,7 +5,7 @@
* *
* Copyright (c) 1994, Regents of the University of California * 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/nodeAppend.h"
#include "executor/nodeSubplan.h" #include "executor/nodeSubplan.h"
#include "executor/execdebug.h" #include "executor/execdebug.h"
#include "optimizer/internal.h" /* for _NONAME_RELATION_ID_ */ #include "optimizer/internal.h"
#include "access/genam.h" #include "access/genam.h"
#include "access/heapam.h" #include "access/heapam.h"
#include "catalog/heap.h" #include "catalog/heap.h"

View File

@ -26,7 +26,7 @@
* *
* *
* IDENTIFICATION * 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/builtins.h"
#include "utils/acl.h" #include "utils/acl.h"
#include "utils/syscache.h" #include "utils/syscache.h"
#include "parser/parsetree.h" /* rt_fetch() */ #include "parser/parsetree.h"
/* #include "access/localam.h" */ /* #include "access/localam.h" */
#include "optimizer/var.h" #include "optimizer/var.h"
#include "access/heapam.h" #include "access/heapam.h"

View File

@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * 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/executor.h"
#include "executor/execdebug.h" #include "executor/execdebug.h"
#include "executor/nodeAppend.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); static bool exec_append_initialize_next(Append *node);

View File

@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * 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/executor.h"
#include "executor/nodeHash.h" #include "executor/nodeHash.h"
#include "executor/nodeHashjoin.h" #include "executor/nodeHashjoin.h"
#include "optimizer/clauses.h" /* for get_leftop */ #include "optimizer/clauses.h"
static TupleTableSlot *ExecHashJoinOuterGetTuple(Plan *node, Plan *parent, static TupleTableSlot *ExecHashJoinOuterGetTuple(Plan *node, Plan *parent,
HashJoinState *hjstate); HashJoinState *hjstate);

View File

@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * 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/execdebug.h"
#include "executor/nodeIndexscan.h" #include "executor/nodeIndexscan.h"
#include "optimizer/clauses.h" /* for get_op, get_leftop, get_rightop */ #include "optimizer/clauses.h"
#include "parser/parsetree.h" /* for rt_fetch() */ #include "parser/parsetree.h"
#include "access/heapam.h" #include "access/heapam.h"
#include "access/genam.h" #include "access/genam.h"

View File

@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * 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/executor.h"
#include "executor/nodeMaterial.h" #include "executor/nodeMaterial.h"
#include "catalog/heap.h" #include "catalog/heap.h"
#include "optimizer/internal.h" /* for _NONAME_RELATION_ID_ */ #include "optimizer/internal.h"
#include "access/heapam.h" #include "access/heapam.h"
/* ---------------------------------------------------------------- /* ----------------------------------------------------------------

View File

@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * 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/executor.h"
#include "executor/nodeUnique.h" #include "executor/nodeUnique.h"
#include "access/heapam.h" #include "access/heapam.h"
#include "access/printtup.h" /* for getTypeOutAndElem() */ #include "access/printtup.h"
/* ---------------------------------------------------------------- /* ----------------------------------------------------------------
* ExecIdenticalTuples * ExecIdenticalTuples

View File

@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * 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 * NOTES
* This should be moved to a more appropriate place. It is here * This should be moved to a more appropriate place. It is here
@ -38,7 +38,7 @@
#include "postgres.h" #include "postgres.h"
#include "libpq/libpq-fs.h" #include "libpq/libpq-fs.h"
#include <catalog/pg_shadow.h> /* for superuser() */ #include "catalog/pg_shadow.h"
#include "storage/large_object.h" #include "storage/large_object.h"
#include "libpq/be-fsstubs.h" #include "libpq/be-fsstubs.h"

View File

@ -5,7 +5,7 @@
* *
* Copyright (c) 1994, Regents of the University of California * 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 "postgres.h"
#include <libpq/libpq.h> /* where the declarations go */ #include "libpq/libpq.h"
/* ---------------------------------------------------------------- /* ----------------------------------------------------------------

View File

@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * 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 "postgres.h"
#include <libpq/libpq.h> /* where the declarations go */ #include "libpq/libpq.h"
PortalEntry **portals = (PortalEntry **) NULL; PortalEntry **portals = (PortalEntry **) NULL;
size_t portals_array_size = 0; size_t portals_array_size = 0;

View File

@ -28,7 +28,7 @@
* *
* Copyright (c) 1994, Regents of the University of California * 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 <signal.h>
#include <errno.h> #include <errno.h>
#include <fcntl.h> #include <fcntl.h>
#include <unistd.h> /* for ttyname() */ #include <unistd.h>
#include <sys/types.h> #include <sys/types.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <sys/socket.h> #include <sys/socket.h>
@ -79,7 +79,7 @@
#include <arpa/inet.h> #include <arpa/inet.h>
#include <sys/file.h> #include <sys/file.h>
#include "libpq/libpq.h" /* where my declarations go */ #include "libpq/libpq.h"
#include "miscadmin.h" #include "miscadmin.h"
#ifndef SOMAXCONN #ifndef SOMAXCONN

View File

@ -5,7 +5,7 @@
* *
* Copyright (c) 1994, Regents of the University of California * 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 <string.h>
#include "postgres.h" #include "postgres.h"
#include <libpq/libpq.h> /* where the declarations go */ #include "libpq/libpq.h"
/* ---------------- /* ----------------

View File

@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * 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> #include <locale.h>
#endif #endif
#include "miscadmin.h" #include "miscadmin.h"
#include "bootstrap/bootstrap.h"/* for BootstrapMain() */ #include "bootstrap/bootstrap.h"
#include "tcop/tcopprot.h" /* for PostgresMain() */ #include "tcop/tcopprot.h"
#define NOROOTEXEC "\ #define NOROOTEXEC "\
\n\"root\" execution of the PostgreSQL backend is not permitted.\n\n\ \n\"root\" execution of the PostgreSQL backend is not permitted.\n\n\

View File

@ -9,13 +9,13 @@
* *
* *
* IDENTIFICATION * 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 <string.h>
#include "postgres.h" #include "postgres.h"
@ -35,8 +35,8 @@
#include "optimizer/internal.h" #include "optimizer/internal.h"
#include "optimizer/keys.h" #include "optimizer/keys.h"
#include "optimizer/pathnode.h" #include "optimizer/pathnode.h"
#include "optimizer/tlist.h" /* for get_expr */ #include "optimizer/tlist.h"
#include "storage/buf_internals.h" /* for NBuffers */ #include "storage/buf_internals.h"
#include "tcop/dest.h" #include "tcop/dest.h"
#include "utils/syscache.h" #include "utils/syscache.h"

View File

@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * 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/cost.h"
#include "optimizer/internal.h" #include "optimizer/internal.h"
#include "optimizer/plancat.h" #include "optimizer/plancat.h"
#include "parser/parsetree.h" /* for getrelid() */ #include "parser/parsetree.h"
#include "utils/lsyscache.h" #include "utils/lsyscache.h"

View File

@ -8,7 +8,7 @@
* *
* *
* IDENTIFICATION * 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/paths.h"
#include "optimizer/plancat.h" #include "optimizer/plancat.h"
#include "optimizer/pathnode.h" #include "optimizer/pathnode.h"
#include "parser/parsetree.h" /* for getrelid() */ #include "parser/parsetree.h"
#include "parser/parse_expr.h" /* for exprType() */ #include "parser/parse_expr.h"
#include "parser/parse_oper.h" /* for oprid() and oper() */ #include "parser/parse_oper.h"
#include "parser/parse_coerce.h"/* for IS_BINARY_COMPATIBLE() */ #include "parser/parse_coerce.h"
#include "utils/lsyscache.h" #include "utils/lsyscache.h"

View File

@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * 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/paths.h"
#include "optimizer/pathnode.h" #include "optimizer/pathnode.h"
#include "optimizer/cost.h" /* for _enable_{hashjoin, #include "optimizer/cost.h"
* _enable_mergejoin} */
static Path *best_innerjoin(List *join_paths, List *outer_relid); static Path *best_innerjoin(List *join_paths, List *outer_relid);
static List *sort_inner_and_outer(RelOptInfo *joinrel, RelOptInfo *outerrel, RelOptInfo *innerrel, static List *sort_inner_and_outer(RelOptInfo *joinrel, RelOptInfo *outerrel, RelOptInfo *innerrel,

View File

@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * 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/syscache.h"
#include "utils/lsyscache.h" #include "utils/lsyscache.h"
#include "parser/parsetree.h" /* for getrelid() */ #include "parser/parsetree.h"
#include "optimizer/prep.h" #include "optimizer/prep.h"
#include "optimizer/clauses.h" #include "optimizer/clauses.h"

View File

@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * 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/plancat.h"
#include "optimizer/pathnode.h" /* where the decls go */ #include "optimizer/pathnode.h"
static List *find_secondary_index(Query *root, Oid relid); static List *find_secondary_index(Query *root, Oid relid);

View File

@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * 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/keys.h"
#include "optimizer/ordering.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); static Path *better_path(Path *new_path, List *unique_paths, bool *is_new);

View File

@ -8,7 +8,7 @@
* *
* *
* IDENTIFICATION * 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_amop.h"
#include "catalog/pg_inherits.h" #include "catalog/pg_inherits.h"
#include "parser/parsetree.h" /* for getrelid() */ #include "parser/parsetree.h"
#include "optimizer/internal.h" #include "optimizer/internal.h"
#include "optimizer/plancat.h" #include "optimizer/plancat.h"

View File

@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * 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/internal.h"
#include "optimizer/pathnode.h" /* where the decls go */ #include "optimizer/pathnode.h"
#include "optimizer/plancat.h" #include "optimizer/plancat.h"

View File

@ -6,7 +6,7 @@
* *
* Copyright (c) 1994, Regents of the University of California * 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 "postgres.h"
#include "fmgr.h" /* for func_ptr */ #include "fmgr.h"
#include "utils/dynamic_loader.h" #include "utils/dynamic_loader.h"
/* dynloader.c */ /* dynloader.c */

View File

@ -13,7 +13,7 @@
#ifndef PORT_PROTOS_H #ifndef PORT_PROTOS_H
#define PORT_PROTOS_H #define PORT_PROTOS_H
#include "fmgr.h" /* for func_ptr */ #include "fmgr.h"
#include "utils/dynamic_loader.h" #include "utils/dynamic_loader.h"
/* dynloader.c */ /* dynloader.c */

View File

@ -4,7 +4,7 @@
* *
* Copyright (c) 1994, Regents of the University of California * 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 #define PORT_PROTOS_H
#include <dlfcn.h> #include <dlfcn.h>
#include "fmgr.h" /* for func_ptr */ #include "fmgr.h"
#include "utils/dynamic_loader.h" #include "utils/dynamic_loader.h"
/* /*

View File

@ -6,7 +6,7 @@
* *
* Copyright (c) 1994, Regents of the University of California * 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 "postgres.h"
#include "fmgr.h" /* for func_ptr */ #include "fmgr.h"
#include "utils/dynamic_loader.h" #include "utils/dynamic_loader.h"
/* dynloader.c */ /* dynloader.c */

View File

@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * 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 * NOTES
* all functions are defined here -- it's impossible to trace the * all functions are defined here -- it's impossible to trace the
@ -20,9 +20,9 @@
#include <a.out.h> #include <a.out.h>
#include "dl.h" #include "dl.h"
#include "postgres.h" #include "postgres.h"
#include "dynloader.h"
#include "fmgr.h" #include "fmgr.h"
#include "utils/dynamic_loader.h" #include "utils/dynamic_loader.h"
#include "dynloader.h"
void * void *
pg_dlopen(char *filename) pg_dlopen(char *filename)

View File

@ -14,7 +14,7 @@
#define PORT_PROTOS_H #define PORT_PROTOS_H
#include <dlfcn.h> #include <dlfcn.h>
#include "fmgr.h" /* for func_ptr */ #include "fmgr.h"
#include "utils/dynamic_loader.h" #include "utils/dynamic_loader.h"
/* dynloader.c */ /* dynloader.c */

View File

@ -6,14 +6,14 @@
* *
* Copyright (c) 1994, Regents of the University of California * 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 #ifndef PORT_PROTOS_H
#define PORT_PROTOS_H #define PORT_PROTOS_H
#include "fmgr.h" /* for func_ptr */ #include "fmgr.h"
#include "utils/dynamic_loader.h" #include "utils/dynamic_loader.h"
#ifdef __ELF__ #ifdef __ELF__
#include <dlfcn.h> #include <dlfcn.h>

View File

@ -9,7 +9,7 @@
#ifndef PORT_PROTOS_H #ifndef PORT_PROTOS_H
#define PORT_PROTOS_H #define PORT_PROTOS_H
#include "fmgr.h" /* for func_ptr */ #include "fmgr.h"
#include "utils/dynamic_loader.h" #include "utils/dynamic_loader.h"
void *next_dlopen(char *name); void *next_dlopen(char *name);

View File

@ -6,7 +6,7 @@
* *
* Copyright (c) 1994, Regents of the University of California * 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 #define PORT_PROTOS_H
#include <dlfcn.h> #include <dlfcn.h>
#include "fmgr.h" /* for func_ptr */ #include "fmgr.h"
#include "utils/dynamic_loader.h" #include "utils/dynamic_loader.h"
/* dynloader.c */ /* dynloader.c */

View File

@ -6,7 +6,7 @@
* *
* Copyright (c) 1994, Regents of the University of California * 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 #define PORT_PROTOS_H
#include <dlfcn.h> #include <dlfcn.h>
#include "fmgr.h" /* for func_ptr */ #include "fmgr.h"
#include "utils/dynamic_loader.h" #include "utils/dynamic_loader.h"
/* dynloader.c */ /* dynloader.c */

View File

@ -6,7 +6,7 @@
* *
* Copyright (c) 1994, Regents of the University of California * 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 <dlfcn.h>
#include "fmgr.h" /* for func_ptr */ #include "fmgr.h"
#include "utils/dynamic_loader.h" #include "utils/dynamic_loader.h"
/* dynloader.c */ /* dynloader.c */

View File

@ -6,7 +6,7 @@
* *
* Copyright (c) 1994, Regents of the University of California * 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 #define PORT_PROTOS_H
#include <dlfcn.h> #include <dlfcn.h>
#include "fmgr.h" /* for func_ptr */ #include "fmgr.h"
#include "utils/dynamic_loader.h" #include "utils/dynamic_loader.h"
/* dynloader.c */ /* dynloader.c */

View File

@ -6,7 +6,7 @@
* *
* Copyright (c) 1994, Regents of the University of California * 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 #define DYNLOADER_H
#include <dlfcn.h> #include <dlfcn.h>
#include "fmgr.h" /* for func_ptr */ #include "fmgr.h"
#include "utils/dynamic_loader.h" #include "utils/dynamic_loader.h"
/* dynloader.h */ /* dynloader.h */

View File

@ -6,7 +6,7 @@
* *
* Copyright (c) 1994, Regents of the University of California * 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_ #ifndef _DL_HEADER_
#define _DL_HEADER_ #define _DL_HEADER_
#include <stdio.h> /* needed to declare FILE for ldfcn.h */ #include <stdio.h>
#include "filehdr.h" #include "filehdr.h"
#include "syms.h" #include "syms.h"
#include "ldfcn.h" #include "ldfcn.h"

View File

@ -14,7 +14,7 @@
#define PORT_PROTOS_H #define PORT_PROTOS_H
#include <dlfcn.h> #include <dlfcn.h>
#include "fmgr.h" /* for func_ptr */ #include "fmgr.h"
#include "utils/dynamic_loader.h" #include "utils/dynamic_loader.h"
/* dynloader.c */ /* dynloader.c */

View File

@ -14,7 +14,7 @@
#define PORT_PROTOS_H #define PORT_PROTOS_H
#include <dlfcn.h> #include <dlfcn.h>
#include "fmgr.h" /* for func_ptr */ #include "fmgr.h"
#include "utils/dynamic_loader.h" #include "utils/dynamic_loader.h"
/* dynloader.c */ /* dynloader.c */

View File

@ -14,7 +14,7 @@
#define PORT_PROTOS_H #define PORT_PROTOS_H
#include <dlfcn.h> #include <dlfcn.h>
#include "fmgr.h" /* for func_ptr */ #include "fmgr.h"
#include "utils/dynamic_loader.h" #include "utils/dynamic_loader.h"
/* dynloader.c */ /* dynloader.c */

View File

@ -6,15 +6,15 @@
* *
* Copyright (c) 1994, Regents of the University of California * 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 #ifndef PORT_PROTOS_H
#define PORT_PROTOS_H #define PORT_PROTOS_H
#include <sys/resource.h> /* for struct rusage */ #include <sys/resource.h>
#include <dl.h> /* for shl_t */ #include "dl.h"
#include "utils/dynamic_loader.h" #include "utils/dynamic_loader.h"

View File

@ -1,7 +1,7 @@
/* $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 <stdlib.h>
#include <math.h> /* for pow() prototype */ #include <math.h>
#include <errno.h> #include <errno.h>
long long

View File

@ -1,7 +1,7 @@
/* $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 <stdlib.h>
#include <math.h> /* for pow() prototype */ #include <math.h>
#include <errno.h> #include <errno.h>
void void

View File

@ -10,7 +10,7 @@
* *
* *
* IDENTIFICATION * 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 * NOTES
* *
@ -33,9 +33,9 @@
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
/* moved here to prevent double define */ /* moved here to prevent double define */
#include <sys/param.h> /* for MAXHOSTNAMELEN on most */ #include <sys/param.h>
#ifdef HAVE_NETDB_H #ifdef HAVE_NETDB_H
#include <netdb.h> /* for MAXHOSTNAMELEN on some */ #include <netdb.h>
#endif #endif
#ifndef MAXHOSTNAMELEN #ifndef MAXHOSTNAMELEN
@ -54,8 +54,8 @@
#endif /* !NO_UNISTD_H */ #endif /* !NO_UNISTD_H */
#include <ctype.h> #include <ctype.h>
#include <sys/types.h> /* for fd_set stuff */ #include <sys/types.h>
#include <sys/stat.h> /* for umask */ #include <sys/stat.h>
#include <sys/time.h> #include <sys/time.h>
#include <sys/socket.h> #include <sys/socket.h>
#ifdef HAVE_LIMITS_H #ifdef HAVE_LIMITS_H
@ -91,7 +91,7 @@
#include "nodes/nodes.h" #include "nodes/nodes.h"
#include "storage/proc.h" #include "storage/proc.h"
#ifndef HAVE_GETHOSTNAME #ifndef HAVE_GETHOSTNAME
#include "port-protos.h" /* For gethostname() */ #include "port-protos.h"
#endif #endif
#include "storage/fd.h" #include "storage/fd.h"
#include "utils/trace.h" #include "utils/trace.h"

View File

@ -6,15 +6,15 @@
* *
* *
* IDENTIFICATION * 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 "postgres.h"
#include "utils/syscache.h" /* for SearchSysCache */ #include "utils/syscache.h"
#include "rewrite/locks.h" /* for rewrite specific lock defns */ #include "rewrite/locks.h"
#include "access/heapam.h" /* for ACL checking */ #include "access/heapam.h"
#include "utils/syscache.h" #include "utils/syscache.h"
#include "utils/acl.h" #include "utils/acl.h"
#include "utils/builtins.h" #include "utils/builtins.h"

View File

@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * 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 "postgres.h"
#include "access/heapam.h" /* access methods like amopenr */ #include "access/heapam.h"
#include "catalog/pg_rewrite.h" #include "catalog/pg_rewrite.h"
#include "parser/parse_relation.h" #include "parser/parse_relation.h"
#include "rewrite/rewriteDefine.h" #include "rewrite/rewriteDefine.h"

View File

@ -6,7 +6,7 @@
* *
* *
* IDENTIFICATION * 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 "postgres.h"
#include "miscadmin.h" #include "miscadmin.h"
#include "parser/parse_type.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_relation.h"
#include "parser/parse_target.h" #include "parser/parse_target.h"

View File

@ -6,13 +6,13 @@
* *
* *
* IDENTIFICATION * 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 <string.h>
#include "postgres.h" #include "postgres.h"
#include "parser/parsetree.h" /* for getrelid() */ #include "parser/parsetree.h"
#include "utils/lsyscache.h" #include "utils/lsyscache.h"
#include "utils/builtins.h" #include "utils/builtins.h"
#include "rewrite/rewriteManip.h" #include "rewrite/rewriteManip.h"

View File

@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * 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 "postgres.h"
#include "access/heapam.h" /* heap AM calls defined here */ #include "access/heapam.h"
#include "catalog/catname.h" /* for RewriteRelationName */ #include "catalog/catname.h"
#include "catalog/pg_rewrite.h" #include "catalog/pg_rewrite.h"
#include "utils/syscache.h" #include "utils/syscache.h"
#include "rewrite/rewriteRemove.h" /* where the decls go */ #include "rewrite/rewriteRemove.h"
#include "rewrite/rewriteSupport.h" #include "rewrite/rewriteSupport.h"
/*----------------------------------------------------------------------- /*-----------------------------------------------------------------------

View File

@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * 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 "access/heapam.h"
#include "catalog/catname.h" #include "catalog/catname.h"
#include "catalog/indexing.h" #include "catalog/indexing.h"
#include "utils/catcache.h" /* for CacheContext */ #include "utils/catcache.h"
#include "utils/syscache.h" /* for SearchSysCache */ #include "utils/syscache.h"
#include "rewrite/rewriteSupport.h" #include "rewrite/rewriteSupport.h"

View File

@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * 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/builtins.h"
#include "utils/hsearch.h" #include "utils/hsearch.h"
#include "utils/memutils.h" #include "utils/memutils.h"
#include "executor/execdebug.h" /* for NDirectFileRead */ #include "executor/execdebug.h"
#include "catalog/catalog.h" #include "catalog/catalog.h"
/* /*

View File

@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * 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 "storage/smgr.h"
#include "miscadmin.h" #include "miscadmin.h"
#include "utils/relcache.h" #include "utils/relcache.h"
#include "executor/execdebug.h" /* for NDirectFileRead */ #include "executor/execdebug.h"
extern SPINLOCK BufMgrLock; extern SPINLOCK BufMgrLock;
extern long int ReadBufferCount; extern long int ReadBufferCount;

View File

@ -15,7 +15,7 @@
* *
* *
* IDENTIFICATION * 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 "storage/smgr.h"
#include "utils/relcache.h" #include "utils/relcache.h"
#include "executor/execdebug.h" /* for NDirectFileRead */ #include "executor/execdebug.h"
extern long int LocalBufferFlushCount; extern long int LocalBufferFlushCount;

View File

@ -6,7 +6,7 @@
* Copyright (c) 1994, Regents of the University of California * Copyright (c) 1994, Regents of the University of California
* *
* IDENTIFICATION * 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: * NOTES:
* *
@ -48,7 +48,7 @@
#include <fcntl.h> #include <fcntl.h>
#include "postgres.h" #include "postgres.h"
#include "miscadmin.h" /* for DataDir */ #include "miscadmin.h"
#include "storage/fd.h" #include "storage/fd.h"
/* /*

View File

@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * 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/sinval.h"
#include "storage/bufmgr.h" #include "storage/bufmgr.h"
#include "miscadmin.h" /* for DebugLvl */ #include "miscadmin.h"
/* /*
* SystemPortAddressCreateMemoryKey * SystemPortAddressCreateMemoryKey

View File

@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * 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 * NOTES
* *
@ -22,9 +22,9 @@
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
#include <stdio.h> /* for sprintf() */ #include <stdio.h>
#include "postgres.h" #include "postgres.h"
#include "storage/shmem.h" /* where the declarations go */ #include "storage/shmem.h"
/*#define SHMQUEUE_DEBUG*/ /*#define SHMQUEUE_DEBUG*/
#ifdef SHMQUEUE_DEBUG #ifdef SHMQUEUE_DEBUG

View File

@ -8,12 +8,12 @@
* *
* *
* IDENTIFICATION * 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 <sys/types.h>
#include <stdio.h> /* for sprintf() */ #include <stdio.h>
#include <string.h> #include <string.h>
#include <sys/file.h> #include <sys/file.h>
#include <sys/stat.h> #include <sys/stat.h>

View File

@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * 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 "catalog/catalog.h"
#include "access/transam.h" /* for AmiTransactionId */ #include "access/transam.h"
extern Oid MyDatabaseId; extern Oid MyDatabaseId;

View File

@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * 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 * NOTES
* Outside modules can create a lock table and acquire/release * 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 <string.h>
#include <sys/types.h> #include <sys/types.h>
#include <unistd.h> #include <unistd.h>

View File

@ -12,7 +12,7 @@
* *
* *
* IDENTIFICATION * 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: * NOTES:
* (1) The lock.c module assumes that the caller here is doing * (1) The lock.c module assumes that the caller here is doing
@ -27,7 +27,7 @@
#include "storage/multilev.h" #include "storage/multilev.h"
#include "utils/rel.h" #include "utils/rel.h"
#include "miscadmin.h" /* MyDatabaseId */ #include "miscadmin.h"
static bool MultiAcquire(LOCKMETHOD lockmethod, LOCKTAG *tag, static bool MultiAcquire(LOCKMETHOD lockmethod, LOCKTAG *tag,
LOCKMODE lockmode, PG_LOCK_LEVEL level); LOCKMODE lockmode, PG_LOCK_LEVEL level);

View File

@ -13,7 +13,7 @@
* *
* *
* IDENTIFICATION * 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 "postgres.h"
#include "storage/lmgr.h" /* where the declarations go */ #include "storage/lmgr.h"
#include "storage/lock.h" #include "storage/lock.h"
#include "storage/multilev.h" #include "storage/multilev.h"
#include "utils/rel.h" #include "utils/rel.h"

View File

@ -7,21 +7,21 @@
* *
* *
* IDENTIFICATION * 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 <unistd.h>
#include <stdio.h> /* for sprintf() */ #include <stdio.h>
#include <string.h> #include <string.h>
#include <fcntl.h> /* for open() flags */ #include <fcntl.h>
#include <sys/file.h> #include <sys/file.h>
#include "postgres.h" #include "postgres.h"
#include "miscadmin.h" /* for DataDir */ #include "miscadmin.h"
#include "catalog/catalog.h" #include "catalog/catalog.h"
#include "storage/smgr.h" /* where the declarations go */ #include "storage/smgr.h"
#undef DIAGNOSTIC #undef DIAGNOSTIC

View File

@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * 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. * 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 <string.h>
#include "postgres.h" #include "postgres.h"

View File

@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * 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 * NOTES
* This cruft is the server side of PQfn. * This cruft is the server side of PQfn.
@ -62,12 +62,12 @@
#include "postgres.h" #include "postgres.h"
#include "utils/builtins.h" /* for oideq */ #include "utils/builtins.h"
#include "tcop/fastpath.h" #include "tcop/fastpath.h"
#include "libpq/libpq.h" #include "libpq/libpq.h"
#include "libpq/pqformat.h" #include "libpq/pqformat.h"
#include "access/xact.h" /* for TransactionId/CommandId protos */ #include "access/xact.h"
#include "utils/syscache.h" #include "utils/syscache.h"
#include "catalog/pg_proc.h" #include "catalog/pg_proc.h"

View File

@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * 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 * NOTES
* this is the "main" module of the postgres backend and * this is the "main" module of the postgres backend and
@ -24,9 +24,9 @@
#include <sys/time.h> #include <sys/time.h>
#include <sys/types.h> #include <sys/types.h>
#include <fcntl.h> #include <fcntl.h>
#include <sys/param.h> /* for MAXHOSTNAMELEN on most */ #include <sys/param.h>
#ifndef MAXHOSTNAMELEN #ifndef MAXHOSTNAMELEN
#include <netdb.h> /* for MAXHOSTNAMELEN on some */ #include <netdb.h>
#endif #endif
#ifndef MAXHOSTNAMELEN /* for MAXHOSTNAMELEN under sco3.2v5.0.2 */ #ifndef MAXHOSTNAMELEN /* for MAXHOSTNAMELEN under sco3.2v5.0.2 */
#include <sys/socket.h> #include <sys/socket.h>
@ -52,10 +52,10 @@
#include "optimizer/cost.h" #include "optimizer/cost.h"
#include "optimizer/planner.h" #include "optimizer/planner.h"
#include "parser/parser.h" #include "parser/parser.h"
#include "rewrite/rewriteHandler.h" /* for QueryRewrite() */ #include "rewrite/rewriteHandler.h"
#include "tcop/fastpath.h" #include "tcop/fastpath.h"
#include "tcop/pquery.h" #include "tcop/pquery.h"
#include "tcop/tcopprot.h" /* where declarations for this file go */ #include "tcop/tcopprot.h"
#include "tcop/utility.h" #include "tcop/utility.h"
#include "utils/ps_status.h" #include "utils/ps_status.h"
#include "utils/temprel.h" #include "utils/temprel.h"
@ -1502,7 +1502,7 @@ PostgresMain(int argc, char *argv[], int real_argc, char *real_argv[])
if (!IsUnderPostmaster) if (!IsUnderPostmaster)
{ {
puts("\nPOSTGRES backend interactive interface "); 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");
} }
/* ---------------- /* ----------------

View File

@ -11,7 +11,7 @@
* *
* *
* IDENTIFICATION * 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 "postgres.h"
#include "tioga/tgRecipe.h" #include "tioga/tgRecipe.h"
#include "catalog/catalog.h" /* for newoid() */ #include "catalog/catalog.h"
static Arr_TgString *TextArray2ArrTgString(char *str); static Arr_TgString *TextArray2ArrTgString(char *str);

View File

@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * 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 <string.h>
#include "postgres.h" #include "postgres.h"
#include "utils/builtins.h" /* where the declarations go */ #include "utils/builtins.h"
/***************************************************************************** /*****************************************************************************
* USER I/O ROUTINES * * USER I/O ROUTINES *

View File

@ -9,7 +9,7 @@
* *
* *
* IDENTIFICATION * 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 * NOTES
* This code is actually (almost) unused. * This code is actually (almost) unused.
@ -39,7 +39,7 @@
#include <limits.h> #include <limits.h>
#endif #endif
#include "access/xact.h" #include "access/xact.h"
#include "utils/builtins.h" /* where function declarations go */ #include "utils/builtins.h"
#include "utils/dt.h" #include "utils/dt.h"
#define INVALID_RELTIME_STR "Undefined RelTime" #define INVALID_RELTIME_STR "Undefined RelTime"

View File

@ -7,11 +7,11 @@
* *
* *
* IDENTIFICATION * 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 <string.h>
#include <limits.h> #include <limits.h>

View File

@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * 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 "postgres.h"
#include "miscadmin.h" #include "miscadmin.h"
#include "utils/builtins.h" /* where function declarations go */ #include "utils/builtins.h"
char * char *
filename_in(char *file) filename_in(char *file)

View File

@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * 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 * for calls to pow(), exp() since on some machines (my Linux box
* included) these routines do not set errno. - tgl 97/05/10 * included) these routines do not set errno. - tgl 97/05/10
*/ */
#include <stdio.h> /* for sprintf() */ #include <stdio.h>
#include <string.h> #include <string.h>
#include <ctype.h> #include <ctype.h>
#include <stdlib.h> #include <stdlib.h>
@ -60,7 +60,7 @@
#include <limits.h> #include <limits.h>
#endif #endif
#include "fmgr.h" #include "fmgr.h"
#include "utils/builtins.h" /* for ftod() prototype */ #include "utils/builtins.h"
#ifndef NAN #ifndef NAN
#define NAN (0.0/0.0) #define NAN (0.0/0.0)

View File

@ -7,15 +7,15 @@
* *
* *
* IDENTIFICATION * 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 <math.h>
#include <limits.h> #include <limits.h>
#include <float.h> #include <float.h>
#include <stdio.h> /* for sprintf proto, etc. */ #include <stdio.h>
#include <stdlib.h> /* for strtod, etc. */ #include <stdlib.h>
#include <string.h> #include <string.h>
#include <ctype.h> #include <ctype.h>

View File

@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * 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 #endif
#include "postgres.h" #include "postgres.h"
#include "utils/builtins.h" /* where the declarations go */ #include "utils/builtins.h"
#ifndef SHRT_MAX #ifndef SHRT_MAX
#define SHRT_MAX (0x7FFF) #define SHRT_MAX (0x7FFF)

View File

@ -5,8 +5,8 @@
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
#include <stdio.h> /* for sprintf proto, etc. */ #include <stdio.h>
#include <stdlib.h> /* for strtod, etc. */ #include <stdlib.h>
#include <string.h> #include <string.h>
#include <ctype.h> #include <ctype.h>
#include <time.h> #include <time.h>

View File

@ -18,8 +18,8 @@
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
#include <string.h> #include <string.h>
#include "postgres.h" /* postgres system include file */ #include "postgres.h"
#include "utils/builtins.h" /* where the function declarations go */ #include "utils/builtins.h"
#include "mb/pg_wchar.h" #include "mb/pg_wchar.h"
static int like(pg_wchar * text, pg_wchar * p); 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. ** "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. ** Originally written by Rich $alz, mirror!rs, Wed Nov 26 19:03:17 EST 1986.

View File

@ -11,13 +11,13 @@
* *
* *
* IDENTIFICATION * 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 <string.h>
#include "postgres.h" #include "postgres.h"
#include "utils/builtins.h" /* where the declarations go */ #include "utils/builtins.h"
/***************************************************************************** /*****************************************************************************
* USER I/O ROUTINES (none) * * USER I/O ROUTINES (none) *

View File

@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * 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 <string.h>
#include "postgres.h" #include "postgres.h"
#include "access/heapam.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); static int my_varattno(Relation rd, char *a);

View File

@ -10,18 +10,18 @@
* *
* *
* IDENTIFICATION * 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 <errno.h>
#include <math.h> #include <math.h>
#ifdef HAVE_LIMITS_H #ifdef HAVE_LIMITS_H
#include <limits.h> #include <limits.h>
#endif #endif
#include "postgres.h" #include "postgres.h"
#include "utils/builtins.h" /* where the declarations go */ #include "utils/builtins.h"
#ifndef HAVE_MEMMOVE #ifndef HAVE_MEMMOVE
#else #else
#include <string.h> #include <string.h>

View File

@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * 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 <string.h>
#include "postgres.h" #include "postgres.h"
#include "utils/builtins.h" /* where function declarations go */ #include "utils/builtins.h"
/***************************************************************************** /*****************************************************************************
* USER I/O ROUTINES * * USER I/O ROUTINES *

View File

@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * 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 * Alistair Crooks added the code for the regex caching
* agc - cached the regular expressions used - there's a good chance * agc - cached the regular expressions used - there's a good chance
@ -28,11 +28,11 @@
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
#include <string.h> #include <string.h>
#include "postgres.h" /* postgres system include file */ #include "postgres.h"
#include "regex/regex.h" #include "regex/regex.h"
#include "utils/builtins.h" /* where the function declarations go */ #include "utils/builtins.h"
#if defined(DISABLE_XOPEN_NLS) #if defined(DISABLE_XOPEN_NLS)
#undef _XOPEN_SOURCE #undef _XOPEN_SOURCE

View File

@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * 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/indexing.h"
#include "catalog/pg_proc.h" #include "catalog/pg_proc.h"
#include "catalog/pg_type.h" #include "catalog/pg_type.h"
#include "utils/builtins.h" /* where function declarations go */ #include "utils/builtins.h"
/***************************************************************************** /*****************************************************************************
* USER I/O ROUTINES * * USER I/O ROUTINES *

View File

@ -12,7 +12,7 @@
* *
* *
* IDENTIFICATION * 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 "postgres.h"
#include "access/heapam.h" #include "access/heapam.h"
#include "utils/builtins.h" /* for textout() prototype and where the #include "utils/builtins.h"
* declarations go */
#include "catalog/catname.h" #include "catalog/catname.h"
#include "utils/syscache.h" #include "utils/syscache.h"
#include "utils/lsyscache.h" /* for get_oprrest() */ #include "utils/lsyscache.h"
#include "catalog/pg_statistic.h" #include "catalog/pg_statistic.h"
/* N is not a valid var/constant or relation id */ /* N is not a valid var/constant or relation id */

View File

@ -9,21 +9,21 @@
* *
* *
* IDENTIFICATION * 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 <string.h>
#include "postgres.h" #include "postgres.h"
#include "access/heapam.h" #include "access/heapam.h"
#include "catalog/pg_proc.h" /* for Form_pg_proc */ #include "catalog/pg_proc.h"
#include "catalog/catname.h" /* for ProcedureRelationName */ #include "catalog/catname.h"
#include "catalog/indexing.h" /* for Num_pg_proc_indices */ #include "catalog/indexing.h"
#include "utils/sets.h" /* for GENERICSETNAME */ #include "utils/sets.h"
#include "utils/syscache.h" /* for PROOID */ #include "utils/syscache.h"
extern CommandDest whereToSendOutput; /* defined in tcop/postgres.c */ extern CommandDest whereToSendOutput; /* defined in tcop/postgres.c */

View File

@ -7,18 +7,18 @@
* *
* *
* IDENTIFICATION * 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 * NOTES
* input routine largely stolen from boxin(). * input routine largely stolen from boxin().
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
#include <stdio.h> /* for sprintf() */ #include <stdio.h>
#include <string.h> #include <string.h>
#include "postgres.h" #include "postgres.h"
#include "utils/builtins.h" /* where function declarations go */ #include "utils/builtins.h"
#define LDELIM '(' #define LDELIM '('
#define RDELIM ')' #define RDELIM ')'

View File

@ -7,11 +7,11 @@
* *
* *
* IDENTIFICATION * 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 <string.h>
#include "postgres.h" #include "postgres.h"
#include "access/htup.h" #include "access/htup.h"

View File

@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * 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 <string.h>
#include "postgres.h" #include "postgres.h"
#include "utils/builtins.h" /* where function declarations go */ #include "utils/builtins.h"
#include "mb/pg_wchar.h" #include "mb/pg_wchar.h"

View File

@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * 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 "utils/catcache.h"
#include "access/valid.h" #include "access/valid.h"
#include "miscadmin.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 void CatCacheRemoveCTup(CatCache *cache, Dlelem *e);
static Index CatalogCacheComputeHashIndex(struct catcache * cacheInP); static Index CatalogCacheComputeHashIndex(struct catcache * cacheInP);

View File

@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * 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_type.h"
#include "catalog/pg_proc.h" #include "catalog/pg_proc.h"
#include "catalog/pg_language.h" #include "catalog/pg_language.h"
#include "parser/parsetree.h" /* for getrelname() */ #include "parser/parsetree.h"
#include "utils/builtins.h" #include "utils/builtins.h"
#include "utils/fcache2.h" #include "utils/fcache2.h"
#ifndef HAVE_MEMMOVE #ifndef HAVE_MEMMOVE

View File

@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * 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... * Note - this code is real crufty...
* *
@ -23,7 +23,7 @@
#include "utils/catcache.h" #include "utils/catcache.h"
#include "utils/inval.h" #include "utils/inval.h"
#include "utils/relcache.h" #include "utils/relcache.h"
#include "catalog/catname.h" /* XXX to support hacks below */ #include "catalog/catname.h"
static InvalidationEntry InvalidationEntryAllocate(uint16 size); static InvalidationEntry InvalidationEntryAllocate(uint16 size);
static void LocalInvalidInvalidate(LocalInvalid invalid, void (*function) ()); static void LocalInvalidInvalidate(LocalInvalid invalid, void (*function) ());

View File

@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * 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 <sys/types.h>
#include <stdio.h> /* for sprintf() */ #include <stdio.h>
#include <errno.h> #include <errno.h>
#include <sys/file.h> #include <sys/file.h>
#include <fcntl.h> #include <fcntl.h>

View File

@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * 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 * NOTE
* This should eventually work with elog(), dlog(), etc. * This should eventually work with elog(), dlog(), etc.
@ -17,7 +17,7 @@
#include <stdio.h> #include <stdio.h>
#include <unistd.h> #include <unistd.h>
#include "postgres.h" /* where the declaration goes */ #include "postgres.h"
#include "utils/exc.h" #include "utils/exc.h"
#include "utils/trace.h" #include "utils/trace.h"

View File

@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * 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 * NOTE
* XXX this code needs improvement--check for state violations and * 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 <errno.h>
#include <string.h> #include <string.h>

Some files were not shown because too many files have changed in this diff Show More