Change #include's to use <> and "" as appropriate.

This commit is contained in:
Bruce Momjian 1999-07-15 23:04:24 +00:00
parent 2e6b1e63a3
commit a9591ce66a
211 changed files with 784 additions and 784 deletions

View File

@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/access/common/heaptuple.c,v 1.54 1999/07/15 22:38:31 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/access/common/heaptuple.c,v 1.55 1999/07/15 23:02:51 momjian Exp $
*
* NOTES
* The old interface functions have been converted to macros
@ -17,10 +17,10 @@
*-------------------------------------------------------------------------
*/
#include <postgres.h>
#include "postgres.h"
#include <access/heapam.h>
#include <catalog/pg_type.h>
#include "access/heapam.h"
#include "catalog/pg_type.h"
#ifndef HAVE_MEMMOVE
#else

View File

@ -8,16 +8,16 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/access/common/indextuple.c,v 1.34 1999/07/15 22:38:32 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/access/common/indextuple.c,v 1.35 1999/07/15 23:02:51 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#include <postgres.h>
#include "postgres.h"
#include <access/heapam.h>
#include <access/itup.h>
#include <catalog/pg_type.h>
#include "access/heapam.h"
#include "access/itup.h"
#include "catalog/pg_type.h"
#ifndef HAVE_MEMMOVE
#else

View File

@ -7,15 +7,15 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/access/common/Attic/indexvalid.c,v 1.22 1999/07/15 22:38:32 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/access/common/Attic/indexvalid.c,v 1.23 1999/07/15 23:02:51 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#include <postgres.h>
#include "postgres.h"
#include <access/iqual.h>
#include <executor/execdebug.h>
#include "access/iqual.h"
#include "executor/execdebug.h"
/* ----------------------------------------------------------------
* index scan key qualification code

View File

@ -7,14 +7,14 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/access/common/scankey.c,v 1.15 1999/07/15 22:38:32 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/access/common/scankey.c,v 1.16 1999/07/15 23:02:51 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#include <postgres.h>
#include "postgres.h"
#include <access/skey.h>
#include "access/skey.h"
/*
* ScanKeyEntryIsLegal

View File

@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/access/common/tupdesc.c,v 1.51 1999/07/15 22:38:33 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/access/common/tupdesc.c,v 1.52 1999/07/15 23:02:51 momjian Exp $
*
* NOTES
* some of the executor utility code such as "ExecTypeFromTL" should be
@ -18,13 +18,13 @@
#include <stdio.h>
#include <postgres.h>
#include "postgres.h"
#include <catalog/pg_type.h>
#include <nodes/parsenodes.h>
#include <parser/parse_type.h>
#include <utils/builtins.h>
#include <utils/syscache.h>
#include "catalog/pg_type.h"
#include "nodes/parsenodes.h"
#include "parser/parse_type.h"
#include "utils/builtins.h"
#include "utils/syscache.h"
#ifndef HAVE_MEMMOVE
#else

View File

@ -11,16 +11,16 @@
*-------------------------------------------------------------------------
*/
#include <postgres.h>
#include "postgres.h"
#include <catalog/pg_index.h>
#include <access/genam.h>
#include <access/gist.h>
#include <access/gistscan.h>
#include <access/heapam.h>
#include <catalog/index.h>
#include <executor/executor.h>
#include <utils/syscache.h>
#include "catalog/pg_index.h"
#include "access/genam.h"
#include "access/gist.h"
#include "access/gistscan.h"
#include "access/heapam.h"
#include "catalog/index.h"
#include "executor/executor.h"
#include "utils/syscache.h"
#ifndef HAVE_MEMMOVE
#else

View File

@ -11,10 +11,10 @@
*-------------------------------------------------------------------------
*/
#include <postgres.h>
#include "postgres.h"
#include <access/gist.h>
#include <executor/execdebug.h>
#include "access/gist.h"
#include "executor/execdebug.h"
#ifndef HAVE_MEMMOVE
#else

View File

@ -10,11 +10,11 @@
*-------------------------------------------------------------------------
*/
#include <postgres.h>
#include "postgres.h"
#include <access/gist.h>
#include <access/gistscan.h>
#include <access/genam.h>
#include "access/gist.h"
#include "access/gistscan.h"
#include "access/genam.h"
#ifndef HAVE_MEMMOVE
#else

View File

@ -12,10 +12,10 @@
*-------------------------------------------------------------------------
*/
#include <postgres.h>
#include "postgres.h"
#include <access/gist.h>
#include <access/istrat.h>
#include "access/gist.h"
#include "access/istrat.h"
/*
* Note: negate, commute, and negatecommute all assume that operators are

View File

@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/access/hash/hash.c,v 1.27 1999/07/15 22:38:35 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/access/hash/hash.c,v 1.28 1999/07/15 23:02:54 momjian Exp $
*
* NOTES
* This file contains only the public interface routines.
@ -15,14 +15,14 @@
*-------------------------------------------------------------------------
*/
#include <postgres.h>
#include "postgres.h"
#include <access/hash.h>
#include <executor/executor.h>
#include <access/heapam.h>
#include <access/genam.h>
#include <catalog/index.h>
#include <miscadmin.h>
#include "access/hash.h"
#include "executor/executor.h"
#include "access/heapam.h"
#include "access/genam.h"
#include "catalog/index.h"
#include "miscadmin.h"
#ifndef HAVE_MEMMOVE
#else

View File

@ -7,14 +7,14 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/access/hash/hashinsert.c,v 1.16 1999/07/15 22:38:36 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/access/hash/hashinsert.c,v 1.17 1999/07/15 23:02:54 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#include <postgres.h>
#include "postgres.h"
#include <access/hash.h>
#include "access/hash.h"
static InsertIndexResult _hash_insertonpg(Relation rel, Buffer buf, int keysz, ScanKey scankey, HashItem hitem, Buffer metabuf);
static OffsetNumber _hash_pgaddtup(Relation rel, Buffer buf, int keysz, ScanKey itup_scankey, Size itemsize, HashItem hitem);

View File

@ -7,16 +7,16 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/access/hash/hashovfl.c,v 1.21 1999/07/15 22:38:37 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/access/hash/hashovfl.c,v 1.22 1999/07/15 23:02:55 momjian Exp $
*
* NOTES
* Overflow pages look like ordinary relation pages.
*
*-------------------------------------------------------------------------
*/
#include <postgres.h>
#include "postgres.h"
#include <access/hash.h>
#include "access/hash.h"
#ifndef HAVE_MEMMOVE
#else

View File

@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/access/hash/hashpage.c,v 1.21 1999/07/15 22:38:37 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/access/hash/hashpage.c,v 1.22 1999/07/15 23:02:55 momjian Exp $
*
* NOTES
* Postgres hash pages look like ordinary relation pages. The opaque
@ -23,11 +23,11 @@
*-------------------------------------------------------------------------
*/
#include <postgres.h>
#include "postgres.h"
#include <access/hash.h>
#include <miscadmin.h>
#include <access/genam.h>
#include "access/hash.h"
#include "miscadmin.h"
#include "access/genam.h"
#ifndef HAVE_MEMMOVE
#else

View File

@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/access/hash/hashscan.c,v 1.19 1999/07/15 15:18:33 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/access/hash/hashscan.c,v 1.20 1999/07/15 23:02:55 momjian Exp $
*
* NOTES
* Because we can be doing an index scan on a relation while we
@ -27,9 +27,9 @@
*-------------------------------------------------------------------------
*/
#include <postgres.h>
#include "postgres.h"
#include <access/hash.h>
#include "access/hash.h"
static void _hash_scandel(IndexScanDesc scan, BlockNumber blkno, OffsetNumber offno);
static bool _hash_scantouched(IndexScanDesc scan, BlockNumber blkno, OffsetNumber offno);

View File

@ -7,14 +7,14 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/access/hash/hashsearch.c,v 1.18 1999/07/15 22:38:38 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/access/hash/hashsearch.c,v 1.19 1999/07/15 23:02:55 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#include <postgres.h>
#include "postgres.h"
#include <access/hash.h>
#include "access/hash.h"
#ifndef HAVE_MEMMOVE
#else

View File

@ -7,12 +7,12 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/access/hash/Attic/hashstrat.c,v 1.14 1999/07/15 22:38:38 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/access/hash/Attic/hashstrat.c,v 1.15 1999/07/15 23:02:56 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#include <postgres.h>
#include "postgres.h"
/*

View File

@ -7,15 +7,15 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/access/hash/hashutil.c,v 1.18 1999/07/15 22:38:39 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/access/hash/hashutil.c,v 1.19 1999/07/15 23:02:56 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#include <postgres.h>
#include "postgres.h"
#include <access/hash.h>
#include <access/iqual.h>
#include "access/hash.h"
#include "access/iqual.h"
#ifndef HAVE_MEMMOVE
#else

View File

@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/access/heap/heapam.c,v 1.49 1999/07/15 22:38:40 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/access/heap/heapam.c,v 1.50 1999/07/15 23:02:57 momjian Exp $
*
*
* INTERFACE ROUTINES
@ -73,17 +73,17 @@
*-------------------------------------------------------------------------
*/
#include <postgres.h>
#include "postgres.h"
#include <access/heapam.h>
#include <miscadmin.h>
#include <utils/relcache.h>
#include <access/valid.h>
#include <access/hio.h>
#include <storage/smgr.h>
#include <catalog/catalog.h>
#include <utils/inval.h>
#include <utils/builtins.h>
#include "access/heapam.h"
#include "miscadmin.h"
#include "utils/relcache.h"
#include "access/valid.h"
#include "access/hio.h"
#include "storage/smgr.h"
#include "catalog/catalog.h"
#include "utils/inval.h"
#include "utils/builtins.h"
#ifndef HAVE_MEMMOVE
#else

View File

@ -7,15 +7,15 @@
*
*
* IDENTIFICATION
* $Id: hio.c,v 1.23 1999/07/15 22:38:41 momjian Exp $
* $Id: hio.c,v 1.24 1999/07/15 23:02:57 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#include <postgres.h>
#include "postgres.h"
#include <access/hio.h>
#include <access/heapam.h>
#include "access/hio.h"
#include "access/heapam.h"
/*
* amputunique - place tuple at tid

View File

@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/access/heap/Attic/stats.c,v 1.18 1999/07/15 22:38:42 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/access/heap/Attic/stats.c,v 1.19 1999/07/15 23:02:58 momjian Exp $
*
* NOTES
* initam should be moved someplace else.
@ -18,9 +18,9 @@
#include <stdio.h>
#include <time.h>
#include <postgres.h>
#include "postgres.h"
#include <access/heapam.h>
#include "access/heapam.h"
#ifndef HAVE_MEMMOVE
#else

View File

@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/access/index/genam.c,v 1.18 1999/07/15 22:38:42 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/access/index/genam.c,v 1.19 1999/07/15 23:02:58 momjian Exp $
*
* NOTES
* many of the old access method routines have been turned into
@ -44,9 +44,9 @@
* ----------------------------------------------------------------
*/
#include <postgres.h>
#include "postgres.h"
#include <access/genam.h>
#include "access/genam.h"
#ifndef HAVE_MEMMOVE
#else

View File

@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/access/index/indexam.c,v 1.33 1999/07/15 22:38:43 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/access/index/indexam.c,v 1.34 1999/07/15 23:02:59 momjian Exp $
*
* INTERFACE ROUTINES
* index_open - open an index relation by relationId
@ -63,11 +63,11 @@
*-------------------------------------------------------------------------
*/
#include <postgres.h>
#include "postgres.h"
#include <access/genam.h>
#include <utils/relcache.h>
#include <access/heapam.h>
#include "access/genam.h"
#include "utils/relcache.h"
#include "access/heapam.h"
/* ----------------
* undefine macros we aren't going to use that would otherwise

View File

@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/access/nbtree/nbtcompare.c,v 1.25 1999/07/15 22:38:45 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/access/nbtree/nbtcompare.c,v 1.26 1999/07/15 23:02:59 momjian Exp $
*
* NOTES
* These functions are stored in pg_amproc. For each operator class
@ -22,9 +22,9 @@
#include <string.h>
#include <postgres.h>
#include "postgres.h"
#include <utils/builtins.h>
#include "utils/builtins.h"
int32
btint2cmp(int16 a, int16 b)

View File

@ -7,15 +7,15 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/access/nbtree/nbtinsert.c,v 1.45 1999/07/15 22:38:45 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/access/nbtree/nbtinsert.c,v 1.46 1999/07/15 23:03:00 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#include <postgres.h>
#include "postgres.h"
#include <access/nbtree.h>
#include <access/heapam.h>
#include "access/nbtree.h"
#include "access/heapam.h"
#ifndef HAVE_MEMMOVE
#else

View File

@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/access/nbtree/nbtpage.c,v 1.27 1999/07/15 22:38:46 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/access/nbtree/nbtpage.c,v 1.28 1999/07/15 23:03:00 momjian Exp $
*
* NOTES
* Postgres btree pages look like ordinary relation pages. The opaque
@ -22,10 +22,10 @@
#include <stdio.h>
#include <time.h>
#include <postgres.h>
#include "postgres.h"
#include <access/nbtree.h>
#include <miscadmin.h>
#include "access/nbtree.h"
#include "miscadmin.h"
#ifndef HAVE_MEMMOVE
#else

View File

@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/access/nbtree/nbtree.c,v 1.42 1999/07/15 22:38:47 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/access/nbtree/nbtree.c,v 1.43 1999/07/15 23:03:00 momjian Exp $
*
* NOTES
* This file contains only the public interface routines.
@ -16,14 +16,14 @@
*-------------------------------------------------------------------------
*/
#include <postgres.h>
#include "postgres.h"
#include <access/genam.h>
#include <access/nbtree.h>
#include <executor/executor.h>
#include <access/heapam.h>
#include <catalog/index.h>
#include <miscadmin.h>
#include "access/genam.h"
#include "access/nbtree.h"
#include "executor/executor.h"
#include "access/heapam.h"
#include "catalog/index.h"
#include "miscadmin.h"
#ifndef HAVE_MEMMOVE
#else

View File

@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/access/nbtree/Attic/nbtscan.c,v 1.26 1999/07/15 22:38:48 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/access/nbtree/Attic/nbtscan.c,v 1.27 1999/07/15 23:03:00 momjian Exp $
*
*
* NOTES
@ -27,9 +27,9 @@
*-------------------------------------------------------------------------
*/
#include <postgres.h>
#include "postgres.h"
#include <access/nbtree.h>
#include "access/nbtree.h"
typedef struct BTScanListData
{

View File

@ -7,15 +7,15 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/access/nbtree/nbtsearch.c,v 1.48 1999/07/15 22:38:48 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/access/nbtree/nbtsearch.c,v 1.49 1999/07/15 23:03:00 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#include <postgres.h>
#include "postgres.h"
#include <access/genam.h>
#include <access/nbtree.h>
#include "access/genam.h"
#include "access/nbtree.h"
#ifndef HAVE_MEMMOVE
#else

View File

@ -7,15 +7,15 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/access/nbtree/Attic/nbtstrat.c,v 1.9 1999/07/15 22:38:49 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/access/nbtree/Attic/nbtstrat.c,v 1.10 1999/07/15 23:03:01 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#include <postgres.h>
#include "postgres.h"
#include <access/istrat.h>
#include <access/nbtree.h>
#include "access/istrat.h"
#include "access/nbtree.h"
/*
* Note:

View File

@ -7,15 +7,15 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/access/rtree/Attic/rtget.c,v 1.16 1999/07/15 22:38:51 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/access/rtree/Attic/rtget.c,v 1.17 1999/07/15 23:03:01 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#include <postgres.h>
#include "postgres.h"
#include <access/iqual.h>
#include <access/rtree.h>
#include "access/iqual.h"
#include "access/rtree.h"
#ifndef HAVE_MEMMOVE
#else

View File

@ -7,14 +7,14 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/access/rtree/Attic/rtproc.c,v 1.21 1999/07/15 22:38:51 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/access/rtree/Attic/rtproc.c,v 1.22 1999/07/15 23:03:01 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#include <postgres.h>
#include "postgres.h"
#include <utils/builtins.h>
#include "utils/builtins.h"
#ifndef HAVE_MEMMOVE
#else

View File

@ -7,19 +7,19 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/access/rtree/Attic/rtree.c,v 1.33 1999/07/15 22:38:51 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/access/rtree/Attic/rtree.c,v 1.34 1999/07/15 23:03:02 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#include <postgres.h>
#include "postgres.h"
#include <access/genam.h>
#include <catalog/index.h>
#include <access/rtree.h>
#include <utils/geo_decls.h>
#include <executor/executor.h>
#include <access/heapam.h>
#include "access/genam.h"
#include "catalog/index.h"
#include "access/rtree.h"
#include "utils/geo_decls.h"
#include "executor/executor.h"
#include "access/heapam.h"
#ifndef HAVE_MEMMOVE
#else

View File

@ -7,15 +7,15 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/access/rtree/Attic/rtscan.c,v 1.26 1999/07/15 22:38:52 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/access/rtree/Attic/rtscan.c,v 1.27 1999/07/15 23:03:02 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#include <postgres.h>
#include "postgres.h"
#include <access/genam.h>
#include <access/rtree.h>
#include "access/genam.h"
#include "access/rtree.h"
#ifndef HAVE_MEMMOVE
#else

View File

@ -7,15 +7,15 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/access/rtree/Attic/rtstrat.c,v 1.12 1999/07/15 22:38:53 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/access/rtree/Attic/rtstrat.c,v 1.13 1999/07/15 23:03:02 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#include <postgres.h>
#include "postgres.h"
#include <access/rtree.h>
#include <access/istrat.h>
#include "access/rtree.h"
#include "access/istrat.h"
static StrategyNumber RelationGetRTStrategy(Relation r,
AttrNumber attnum, RegProcedure proc);

View File

@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/access/transam/transam.c,v 1.29 1999/07/15 22:38:53 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/access/transam/transam.c,v 1.30 1999/07/15 23:03:02 momjian Exp $
*
* NOTES
* This file contains the high level access-method interface to the
@ -16,11 +16,11 @@
*-------------------------------------------------------------------------
*/
#include <postgres.h>
#include "postgres.h"
#include <access/heapam.h>
#include <catalog/catname.h>
#include <commands/vacuum.h>
#include "access/heapam.h"
#include "catalog/catname.h"
#include "commands/vacuum.h"
static int RecoveryCheckingEnabled(void);
static void TransRecover(Relation logRelation);

View File

@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/access/transam/Attic/transsup.c,v 1.22 1999/07/15 22:38:54 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/access/transam/Attic/transsup.c,v 1.23 1999/07/15 23:03:03 momjian Exp $
*
* NOTES
* This file contains support functions for the high
@ -16,10 +16,10 @@
*-------------------------------------------------------------------------
*/
#include <postgres.h>
#include "postgres.h"
#include <utils/bit.h>
#include <access/xact.h>
#include "utils/bit.h"
#include "access/xact.h"
static XidStatus TransBlockGetXidStatus(Block tblock,
TransactionId transactionId);

View File

@ -7,16 +7,16 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/access/transam/varsup.c,v 1.23 1999/07/15 22:38:54 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/access/transam/varsup.c,v 1.24 1999/07/15 23:03:03 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#include <postgres.h>
#include "postgres.h"
#include <access/heapam.h>
#include <catalog/catname.h>
#include <storage/proc.h>
#include "access/heapam.h"
#include "catalog/catname.h"
#include "storage/proc.h"
static void GetNewObjectIdBlock(Oid *oid_return, int oid_block_size);
static void VariableRelationGetNextOid(Oid *oid_return);

View File

@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/access/transam/xact.c,v 1.44 1999/07/15 22:38:54 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/access/transam/xact.c,v 1.45 1999/07/15 23:03:03 momjian Exp $
*
* NOTES
* Transaction aborts can now occur two ways:
@ -142,16 +142,16 @@
* [PA, 7/17/98]
* [PA] is Pascal André <andre@via.ecp.fr>
*/
#include <postgres.h>
#include "postgres.h"
#include <utils/inval.h>
#include <utils/portal.h>
#include <storage/proc.h>
#include <catalog/heap.h>
#include <utils/relcache.h>
#include <commands/async.h>
#include <commands/sequence.h>
#include <libpq/be-fsstubs.h>
#include "utils/inval.h"
#include "utils/portal.h"
#include "storage/proc.h"
#include "catalog/heap.h"
#include "utils/relcache.h"
#include "commands/async.h"
#include "commands/sequence.h"
#include "libpq/be-fsstubs.h"
extern bool SharedBufferChanged;

View File

@ -5,7 +5,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: xid.c,v 1.24 1999/07/15 15:18:45 momjian Exp $
* $Id: xid.c,v 1.25 1999/07/15 23:03:04 momjian Exp $
*
* OLD COMMENTS
* XXX WARNING
@ -20,8 +20,8 @@
#include <stdio.h>
#include <postgres.h>
#include <access/xact.h>
#include "postgres.h"
#include "access/xact.h"
extern TransactionId NullTransactionId;
extern TransactionId DisabledTransactionId;

View File

@ -7,20 +7,20 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/catalog/catalog.c,v 1.21 1999/05/25 16:08:01 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/catalog/catalog.c,v 1.22 1999/07/15 23:03:04 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#include <string.h>
#include <postgres.h>
#include "postgres.h"
#include <miscadmin.h> /* for DataDir */
#include <utils/syscache.h>
#include "utils/syscache.h"
#include <catalog/catname.h> /* NameIs{,Shared}SystemRelationName */
#include <catalog/pg_type.h>
#include <catalog/catalog.h>
#include <access/transam.h>
#include "catalog/pg_type.h"
#include "catalog/catalog.h"
#include "access/transam.h"
/*
* relpath - path to the relation

View File

@ -7,20 +7,20 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/catalog/pg_aggregate.c,v 1.21 1999/07/15 22:38:58 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/catalog/pg_aggregate.c,v 1.22 1999/07/15 23:03:04 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#include <postgres.h>
#include "postgres.h"
#include <access/heapam.h>
#include <utils/builtins.h>
#include <catalog/catname.h>
#include <utils/syscache.h>
#include <catalog/pg_proc.h>
#include <catalog/pg_type.h>
#include <catalog/pg_aggregate.h>
#include <miscadmin.h>
#include "access/heapam.h"
#include "utils/builtins.h"
#include "catalog/catname.h"
#include "utils/syscache.h"
#include "catalog/pg_proc.h"
#include "catalog/pg_type.h"
#include "catalog/pg_aggregate.h"
#include "miscadmin.h"
#ifndef HAVE_MEMMOVE
#else
#include <string.h>

View File

@ -7,28 +7,28 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/commands/_deadcode/Attic/recipe.c,v 1.4 1999/05/25 22:40:56 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/commands/_deadcode/Attic/recipe.c,v 1.5 1999/07/15 23:03:09 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#include <postgres.h>
#include "postgres.h"
#include <nodes/parsenodes.h>
#include <nodes/plannodes.h>
#include <nodes/execnodes.h>
#include <nodes/makefuncs.h>
#include <catalog/pg_type.h>
#include <commands/recipe.h>
#include <libpq/libpq-be.h>
#include <parser/parse_node.h>
#include <utils/builtins.h>
#include "nodes/parsenodes.h"
#include "nodes/plannodes.h"
#include "nodes/execnodes.h"
#include "nodes/makefuncs.h"
#include "catalog/pg_type.h"
#include "commands/recipe.h"
#include "libpq/libpq-be.h"
#include "parser/parse_node.h"
#include "utils/builtins.h"
#include <utils/relcache.h> /* for RelationNameGetRelation */
#include <rewrite/rewriteHandler.h>
#include <rewrite/rewriteManip.h>
#include <tcop/pquery.h>
#include <tcop/dest.h>
#include <optimizer/planner.h>
#include <executor/executor.h>
#include "rewrite/rewriteHandler.h"
#include "rewrite/rewriteManip.h"
#include "tcop/pquery.h"
#include "tcop/dest.h"
#include "optimizer/planner.h"
#include "executor/executor.h"
/* from tcop/postgres.c */
extern CommandDest whereToSendOutput;
@ -43,7 +43,7 @@ beginRecipe(RecipeStmt *stmt)
#else
#include <tioga/tgRecipe.h>
#include "tioga/tgRecipe.h"
#define DEBUG_RECIPE 1

View File

@ -9,7 +9,7 @@
* doesn't work! - jolly 8/19/95
*
*
* $Id: version.c,v 1.20 1999/07/15 22:39:03 momjian Exp $
* $Id: version.c,v 1.21 1999/07/15 23:03:09 momjian Exp $
*
* NOTES
* At the point the version is defined, 2 physical relations are created
@ -23,7 +23,7 @@
#include <stdio.h>
#include <string.h>
#include <postgres.h>
#include "postgres.h"
#define MAX_QUERY_LEN 1024

View File

@ -6,7 +6,7 @@
* Copyright (c) 1994, Regents of the University of California
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/commands/async.c,v 1.48 1999/07/15 22:38:59 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/commands/async.c,v 1.49 1999/07/15 23:03:06 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@ -94,8 +94,8 @@
#include "libpq/pqformat.h"
#include "miscadmin.h"
#include "utils/syscache.h"
#include <utils/trace.h>
#include <utils/ps_status.h>
#include "utils/trace.h"
#include "utils/ps_status.h"
/* stuff that we really ought not be touching directly :-( */
extern TransactionState CurrentTransactionState;

View File

@ -14,25 +14,25 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/commands/cluster.c,v 1.41 1999/07/15 22:39:00 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/commands/cluster.c,v 1.42 1999/07/15 23:03:06 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#include <string.h>
#include <postgres.h>
#include "postgres.h"
#include <catalog/heap.h>
#include <access/heapam.h>
#include <access/genam.h>
#include <utils/syscache.h>
#include <catalog/index.h>
#include <catalog/pg_type.h>
#include <commands/cluster.h>
#include <commands/rename.h>
#include <utils/builtins.h>
#include <catalog/pg_proc.h>
#include <optimizer/internal.h>
#include "catalog/heap.h"
#include "access/heapam.h"
#include "access/genam.h"
#include "utils/syscache.h"
#include "catalog/index.h"
#include "catalog/pg_type.h"
#include "commands/cluster.h"
#include "commands/rename.h"
#include "utils/builtins.h"
#include "catalog/pg_proc.h"
#include "optimizer/internal.h"
#ifndef NO_SECURITY
#endif /* !NO_SECURITY */

View File

@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/commands/Attic/command.c,v 1.49 1999/07/15 22:39:00 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/commands/Attic/command.c,v 1.50 1999/07/15 23:03:07 momjian Exp $
*
* NOTES
* The PortalExecutorHeapMemory crap needs to be eliminated
@ -36,7 +36,7 @@
#include "utils/temprel.h"
#include "utils/syscache.h"
#include "miscadmin.h"
#include "string.h"
#include <string.h>
/* ----------------
* PortalExecutorHeapMemory stuff

View File

@ -6,7 +6,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/commands/copy.c,v 1.82 1999/07/15 22:39:01 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/commands/copy.c,v 1.83 1999/07/15 23:03:07 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@ -14,24 +14,24 @@
#include <string.h>
#include <unistd.h>
#include <postgres.h>
#include "postgres.h"
#include <access/heapam.h>
#include <miscadmin.h>
#include <utils/builtins.h>
#include <utils/acl.h>
#include "access/heapam.h"
#include "miscadmin.h"
#include "utils/builtins.h"
#include "utils/acl.h"
#include <sys/stat.h>
#include <catalog/pg_index.h>
#include <utils/syscache.h>
#include <executor/executor.h>
#include <catalog/index.h>
#include <access/genam.h>
#include <catalog/pg_type.h>
#include <catalog/catname.h>
#include <catalog/pg_shadow.h>
#include <commands/copy.h>
#include "catalog/pg_index.h"
#include "utils/syscache.h"
#include "executor/executor.h"
#include "catalog/index.h"
#include "access/genam.h"
#include "catalog/pg_type.h"
#include "catalog/catname.h"
#include "catalog/pg_shadow.h"
#include "commands/copy.h"
#include "commands/trigger.h"
#include <libpq/libpq.h>
#include "libpq/libpq.h"
#ifdef MULTIBYTE
#endif

View File

@ -7,23 +7,23 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/commands/Attic/creatinh.c,v 1.42 1999/07/15 22:39:01 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/commands/Attic/creatinh.c,v 1.43 1999/07/15 23:03:07 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#include <stdio.h>
#include <string.h>
#include <postgres.h>
#include "postgres.h"
#include <catalog/heap.h>
#include <commands/creatinh.h>
#include <access/heapam.h>
#include <utils/syscache.h>
#include <catalog/catname.h>
#include <catalog/pg_type.h>
#include <catalog/pg_inherits.h>
#include <catalog/pg_ipl.h>
#include "catalog/heap.h"
#include "commands/creatinh.h"
#include "access/heapam.h"
#include "utils/syscache.h"
#include "catalog/catname.h"
#include "catalog/pg_type.h"
#include "catalog/pg_inherits.h"
#include "catalog/pg_ipl.h"
/* ----------------
* local stuff

View File

@ -9,7 +9,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/commands/define.c,v 1.30 1999/07/15 15:18:53 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/commands/define.c,v 1.31 1999/07/15 23:03:08 momjian Exp $
*
* DESCRIPTION
* The "DefineFoo" routines take the parse tree and pick out the
@ -37,22 +37,22 @@
#include <string.h>
#include <math.h>
#include <postgres.h>
#include "postgres.h"
#include <access/heapam.h>
#include <catalog/catname.h>
#include <catalog/pg_aggregate.h>
#include <catalog/pg_operator.h>
#include <catalog/pg_proc.h>
#include <catalog/pg_type.h>
#include <catalog/pg_language.h>
#include <utils/syscache.h>
#include "access/heapam.h"
#include "catalog/catname.h"
#include "catalog/pg_aggregate.h"
#include "catalog/pg_operator.h"
#include "catalog/pg_proc.h"
#include "catalog/pg_type.h"
#include "catalog/pg_language.h"
#include "utils/syscache.h"
#include <fmgr.h> /* for fmgr */
#include <utils/builtins.h> /* prototype for textin() */
#include <commands/defrem.h>
#include <tcop/dest.h>
#include <catalog/pg_shadow.h>
#include <optimizer/cost.h>
#include "commands/defrem.h"
#include "tcop/dest.h"
#include "catalog/pg_shadow.h"
#include "optimizer/cost.h"
static char *defGetString(DefElem *def);
static int defGetTypeLength(DefElem *def);

View File

@ -4,21 +4,21 @@
*
* Copyright (c) 1994-5, Regents of the University of California
*
* $Id: explain.c,v 1.39 1999/07/15 22:39:01 momjian Exp $
* $Id: explain.c,v 1.40 1999/07/15 23:03:08 momjian Exp $
*
*/
#include <stdio.h>
#include <string.h>
#include <postgres.h>
#include "postgres.h"
#include <nodes/print.h>
#include <lib/stringinfo.h>
#include <commands/explain.h>
#include <parser/parsetree.h>
#include <optimizer/planner.h>
#include <utils/relcache.h>
#include <rewrite/rewriteHandler.h>
#include "nodes/print.h"
#include "lib/stringinfo.h"
#include "commands/explain.h"
#include "parser/parsetree.h"
#include "optimizer/planner.h"
#include "utils/relcache.h"
#include "rewrite/rewriteHandler.h"
typedef struct ExplainState
{

View File

@ -7,28 +7,28 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/commands/indexcmds.c,v 1.5 1999/07/15 22:39:01 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/commands/indexcmds.c,v 1.6 1999/07/15 23:03:08 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#include <string.h>
#include <postgres.h>
#include "postgres.h"
#include <access/genam.h>
#include <access/heapam.h>
#include <utils/builtins.h>
#include <utils/syscache.h>
#include <catalog/heap.h>
#include <catalog/index.h>
#include <catalog/pg_index.h>
#include <catalog/pg_proc.h>
#include <catalog/pg_type.h>
#include <catalog/pg_opclass.h>
#include <commands/defrem.h>
#include "access/genam.h"
#include "access/heapam.h"
#include "utils/builtins.h"
#include "utils/syscache.h"
#include "catalog/heap.h"
#include "catalog/index.h"
#include "catalog/pg_index.h"
#include "catalog/pg_proc.h"
#include "catalog/pg_type.h"
#include "catalog/pg_opclass.h"
#include "commands/defrem.h"
#include <parser/parsetree.h> /* for getrelid() */
#include <optimizer/prep.h>
#include <optimizer/clauses.h>
#include "optimizer/prep.h"
#include "optimizer/clauses.h"
#define IsFuncIndex(ATTR_LIST) (((IndexElem*)lfirst(ATTR_LIST))->args!=NULL)

View File

@ -7,23 +7,23 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/commands/Attic/rename.c,v 1.27 1999/07/15 22:39:02 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/commands/Attic/rename.c,v 1.28 1999/07/15 23:03:08 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#include <postgres.h>
#include "postgres.h"
#include <access/heapam.h>
#include <catalog/catname.h>
#include <utils/syscache.h>
#include <catalog/heap.h>
#include <catalog/indexing.h>
#include <catalog/catalog.h>
#include <commands/rename.h>
#include <miscadmin.h>
#include "access/heapam.h"
#include "catalog/catname.h"
#include "utils/syscache.h"
#include "catalog/heap.h"
#include "catalog/indexing.h"
#include "catalog/catalog.h"
#include "commands/rename.h"
#include "miscadmin.h"
#include <optimizer/prep.h> /* for find_all_inheritors */
#ifndef NO_SECURITY
#include <utils/acl.h>
#include "utils/acl.h"
#endif /* !NO_SECURITY */
#ifndef HAVE_MEMMOVE
#else

View File

@ -8,14 +8,14 @@
#include <stdio.h>
#include <string.h>
#include <postgres.h>
#include <miscadmin.h>
#include "postgres.h"
#include "miscadmin.h"
#include <access/heapam.h>
#include <commands/creatinh.h>
#include <commands/sequence.h>
#include <utils/builtins.h>
#include <utils/acl.h>
#include "access/heapam.h"
#include "commands/creatinh.h"
#include "commands/sequence.h"
#include "utils/builtins.h"
#include "utils/acl.h"
#define SEQ_MAGIC 0x1717

View File

@ -5,7 +5,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: user.c,v 1.29 1999/07/15 22:39:02 momjian Exp $
* $Id: user.c,v 1.30 1999/07/15 23:03:08 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@ -16,18 +16,18 @@
#include <fcntl.h>
#include <unistd.h>
#include <postgres.h>
#include "postgres.h"
#include <miscadmin.h>
#include <catalog/catname.h>
#include <catalog/pg_database.h>
#include <catalog/pg_shadow.h>
#include <libpq/crypt.h>
#include <access/heapam.h>
#include <tcop/tcopprot.h>
#include <utils/acl.h>
#include <utils/syscache.h>
#include <commands/user.h>
#include "miscadmin.h"
#include "catalog/catname.h"
#include "catalog/pg_database.h"
#include "catalog/pg_shadow.h"
#include "libpq/crypt.h"
#include "access/heapam.h"
#include "tcop/tcopprot.h"
#include "utils/acl.h"
#include "utils/syscache.h"
#include "commands/user.h"
static void CheckPgUserAclNotNull(void);

View File

@ -5,24 +5,24 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: view.c,v 1.34 1999/07/15 22:39:03 momjian Exp $
* $Id: view.c,v 1.35 1999/07/15 23:03:08 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#include <stdio.h>
#include <string.h>
#include <postgres.h>
#include "postgres.h"
#include <catalog/heap.h>
#include <access/xact.h>
#include <parser/parse_relation.h>
#include <parser/parse_type.h>
#include <rewrite/rewriteDefine.h>
#include <rewrite/rewriteManip.h>
#include <rewrite/rewriteRemove.h>
#include <commands/creatinh.h>
#include <commands/view.h>
#include "catalog/heap.h"
#include "access/xact.h"
#include "parser/parse_relation.h"
#include "parser/parse_type.h"
#include "rewrite/rewriteDefine.h"
#include "rewrite/rewriteManip.h"
#include "rewrite/rewriteRemove.h"
#include "commands/creatinh.h"
#include "commands/view.h"
/*---------------------------------------------------------------------
* DefineVirtualRelation

View File

@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/lib/Attic/bit.c,v 1.7 1999/07/15 22:39:11 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/lib/Attic/bit.c,v 1.8 1999/07/15 23:03:10 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@ -15,9 +15,9 @@
/*
* utils/memutils.h contains declarations of the functions in this file
*/
#include <postgres.h>
#include "postgres.h"
#include <utils/bit.h>
#include "utils/bit.h"
void
BitArraySetBit(BitArray bitArray, BitIndex bitIndex)

View File

@ -9,13 +9,13 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/lib/dllist.c,v 1.14 1999/06/03 01:28:24 tgl Exp $
* $Header: /cvsroot/pgsql/src/backend/lib/dllist.c,v 1.15 1999/07/15 23:03:11 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#include <postgres.h>
#include <lib/dllist.h>
#include "postgres.h"
#include "lib/dllist.h"
/* When this file is compiled for inclusion in libpq,
* it can't use assert checking. Probably this fix ought to be

View File

@ -7,13 +7,13 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/lib/Attic/fstack.c,v 1.11 1999/05/25 16:08:52 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/lib/Attic/fstack.c,v 1.12 1999/07/15 23:03:11 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#include <postgres.h>
#include "postgres.h"
#include <lib/fstack.h>
#include "lib/fstack.h"
/*
* Internal function definitions

View File

@ -8,14 +8,14 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/lib/Attic/hasht.c,v 1.9 1999/07/15 22:39:12 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/lib/Attic/hasht.c,v 1.10 1999/07/15 23:03:12 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#include <postgres.h>
#include "postgres.h"
#include <utils/memutils.h>
#include <lib/hasht.h>
#include "utils/memutils.h"
#include "lib/hasht.h"
/* -----------------------------------
* HashTableWalk

View File

@ -6,14 +6,14 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/lib/Attic/lispsort.c,v 1.11 1999/07/15 22:39:12 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/lib/Attic/lispsort.c,v 1.12 1999/07/15 23:03:12 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#include <sys/types.h>
#include <postgres.h>
#include "postgres.h"
#ifdef NOT_USED

View File

@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/libpq/auth.c,v 1.37 1999/05/26 12:55:15 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/libpq/auth.c,v 1.38 1999/07/15 23:03:12 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@ -30,14 +30,14 @@
#include <netinet/in.h>
#include <arpa/inet.h>
#include <postgres.h>
#include <miscadmin.h>
#include "postgres.h"
#include "miscadmin.h"
#include <libpq/auth.h>
#include <libpq/libpq.h>
#include <libpq/hba.h>
#include <libpq/password.h>
#include <libpq/crypt.h>
#include "libpq/auth.h"
#include "libpq/libpq.h"
#include "libpq/hba.h"
#include "libpq/password.h"
#include "libpq/crypt.h"
static void sendAuthRequest(Port *port, AuthRequest areq, PacketDoneProc handler);
@ -62,7 +62,7 @@ static void auth_failed(Port *port);
*----------------------------------------------------------------
*/
#include <krb.h>
#include "krb.h"
/*
* pg_krb4_recvauth -- server routine to receive authentication information
@ -149,7 +149,7 @@ pg_krb4_recvauth(Port *port)
*----------------------------------------------------------------
*/
#include <krb5/krb5.h>
#include "krb5/krb5.h"
/*
* pg_an_to_ln -- return the local name corresponding to an authentication

View File

@ -6,7 +6,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: be-dumpdata.c,v 1.27 1999/07/15 22:39:13 momjian Exp $
* $Id: be-dumpdata.c,v 1.28 1999/07/15 23:03:13 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@ -29,13 +29,13 @@
*/
#include <string.h>
#include <postgres.h>
#include "postgres.h"
#include <lib/dllist.h>
#include <libpq/libpq.h>
#include <access/heapam.h>
#include <catalog/catalog.h>
#include <access/printtup.h>
#include "lib/dllist.h"
#include "libpq/libpq.h"
#include "access/heapam.h"
#include "catalog/catalog.h"
#include "access/printtup.h"
/* ----------------
* backend portal stack for recursive PQexec calls

View File

@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/libpq/be-fsstubs.c,v 1.37 1999/07/15 22:39:13 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/libpq/be-fsstubs.c,v 1.38 1999/07/15 23:03:13 momjian Exp $
*
* NOTES
* This should be moved to a more appropriate place. It is here
@ -35,12 +35,12 @@
#include <unistd.h>
#include <string.h>
#include <postgres.h>
#include "postgres.h"
#include <libpq/libpq-fs.h>
#include "libpq/libpq-fs.h"
#include <catalog/pg_shadow.h> /* for superuser() */
#include <storage/large_object.h>
#include <libpq/be-fsstubs.h>
#include "storage/large_object.h"
#include "libpq/be-fsstubs.h"
/* [PA] is Pascal André <andre@via.ecp.fr> */

View File

@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/libpq/Attic/be-pqexec.c,v 1.21 1999/07/15 22:39:14 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/libpq/Attic/be-pqexec.c,v 1.22 1999/07/15 23:03:13 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@ -20,12 +20,12 @@
* NOTES
* These routines are compiled into the postgres backend.
*/
#include <postgres.h>
#include "postgres.h"
#include <tcop/fastpath.h>
#include <tcop/tcopprot.h>
#include <libpq/libpq.h>
#include <utils/builtins.h>
#include "tcop/fastpath.h"
#include "tcop/tcopprot.h"
#include "libpq/libpq.h"
#include "utils/builtins.h"
#ifndef HAVE_MEMMOVE
#else
#include <string.h>

View File

@ -5,7 +5,7 @@
* wherein you authenticate a user by seeing what IP address the system
* says he comes from and possibly using ident).
*
* $Id: hba.c,v 1.44 1999/07/15 22:39:14 momjian Exp $
* $Id: hba.c,v 1.45 1999/07/15 23:03:13 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@ -20,9 +20,9 @@
#include <arpa/inet.h>
#include <unistd.h>
#include <postgres.h>
#include <miscadmin.h>
#include <libpq/libpq.h>
#include "postgres.h"
#include "miscadmin.h"
#include "libpq/libpq.h"
/* Some standard C libraries, including GNU, have an isblank() function.
Others, including Solaris, do not. So we have our own.

View File

@ -1,14 +1,14 @@
/*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: password.c,v 1.22 1999/07/15 22:39:14 momjian Exp $
* $Id: password.c,v 1.23 1999/07/15 23:03:14 momjian Exp $
*
*/
#include <postgres.h>
#include <miscadmin.h>
#include <libpq/password.h>
#include <libpq/libpq.h>
#include "postgres.h"
#include "miscadmin.h"
#include "libpq/password.h"
#include "libpq/libpq.h"
#include <string.h>
#include <unistd.h>
#ifdef HAVE_CRYPT_H

View File

@ -5,7 +5,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: portal.c,v 1.23 1999/07/15 22:39:14 momjian Exp $
* $Id: portal.c,v 1.24 1999/07/15 23:03:14 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@ -53,7 +53,7 @@
#include <stdio.h>
#include <string.h>
#include <postgres.h>
#include "postgres.h"
#include <libpq/libpq.h> /* where the declarations go */

View File

@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/libpq/Attic/portalbuf.c,v 1.17 1999/07/15 22:39:15 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/libpq/Attic/portalbuf.c,v 1.18 1999/07/15 23:03:14 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@ -50,7 +50,7 @@
#include <string.h>
#include <sys/types.h>
#include <postgres.h>
#include "postgres.h"
#include <libpq/libpq.h> /* where the declarations go */

View File

@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/libpq/Attic/pqpacket.c,v 1.20 1999/07/15 22:39:15 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/libpq/Attic/pqpacket.c,v 1.21 1999/07/15 23:03:14 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@ -23,8 +23,8 @@
#include <fcntl.h>
#include <errno.h>
#include <postgres.h>
#include <libpq/libpq.h>
#include "postgres.h"
#include "libpq/libpq.h"
/*

View File

@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/libpq/pqsignal.c,v 1.11 1999/02/13 23:15:48 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/libpq/pqsignal.c,v 1.12 1999/07/15 23:03:14 momjian Exp $
*
* NOTES
* This shouldn't be in libpq, but the monitor and some other
@ -37,11 +37,11 @@
* is to do signal-handler reinstallation, which doesn't work well
* at all.
* ------------------------------------------------------------------------*/
#include <postgres.h>
#include "postgres.h"
#include <signal.h>
#include <libpq/pqsignal.h>
#include "libpq/pqsignal.h"
pqsigfunc
pqsignal(int signo, pqsigfunc func)

View File

@ -5,7 +5,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: util.c,v 1.10 1999/07/15 22:39:15 momjian Exp $
* $Id: util.c,v 1.11 1999/07/15 23:03:14 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@ -20,7 +20,7 @@
#include <stdio.h>
#include <string.h>
#include <postgres.h>
#include "postgres.h"
#include <libpq/libpq.h> /* where the declarations go */

View File

@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/main/main.c,v 1.24 1999/07/13 20:12:46 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/main/main.c,v 1.25 1999/07/15 23:03:15 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@ -17,7 +17,7 @@
#if defined(__alpha__) && !defined(linux)
#include <sys/sysinfo.h>
#include <machine/hal_sysinfo.h>
#include "machine/hal_sysinfo.h"
#define ASSEMBLER
#include <sys/proc.h>
#undef ASSEMBLER

View File

@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/optimizer/plan/createplan.c,v 1.59 1999/07/15 22:39:26 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/optimizer/plan/createplan.c,v 1.60 1999/07/15 23:03:16 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@ -16,7 +16,7 @@
#include "postgres.h"
#include <utils/syscache.h>
#include "utils/syscache.h"
#include "nodes/nodeFuncs.h"

View File

@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/optimizer/util/clauses.c,v 1.38 1999/07/15 22:39:29 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/optimizer/util/clauses.c,v 1.39 1999/07/15 23:03:17 momjian Exp $
*
* HISTORY
* AUTHOR DATE MAJOR EVENT
@ -18,7 +18,7 @@
#include "postgres.h"
#include <catalog/pg_operator.h>
#include "catalog/pg_operator.h"
#include "nodes/plannodes.h"
#include "nodes/makefuncs.h"
#include "nodes/nodeFuncs.h"

View File

@ -9,9 +9,9 @@
#include <string.h>
#include <stdlib.h>
#include <sys/types.h>
#include <sys/ldr.h>
#include "sys/ldr.h"
#include <a.out.h>
#include <ldfcn.h>
#include "ldfcn.h"
#include "postgres.h"
#include "dynloader.h"

View File

@ -38,7 +38,7 @@ static char sccsid[] = "@(#)dl.c 5.4 (Berkeley) 2/23/91";
#include <sys/types.h>
#include <nlist.h>
#include <link.h>
#include "link.h"
#include <dlfcn.h>
#include <stdio.h>

View File

@ -6,7 +6,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: bsd.h,v 1.3 1999/02/13 23:17:16 momjian Exp $
* $Id: bsd.h,v 1.4 1999/07/15 23:03:19 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@ -15,7 +15,7 @@
#include <sys/types.h>
#include <nlist.h>
#include <link.h>
#include "link.h"
#include "postgres.h"

View File

@ -38,7 +38,7 @@ static char sccsid[] = "@(#)dl.c 5.4 (Berkeley) 2/23/91";
#include <sys/types.h>
#include <nlist.h>
#include <link.h>
#include "link.h"
#include <dlfcn.h>
#include <stdio.h>

View File

@ -6,7 +6,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: freebsd.h,v 1.2 1999/02/13 23:17:19 momjian Exp $
* $Id: freebsd.h,v 1.3 1999/07/15 23:03:20 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@ -15,7 +15,7 @@
#include <sys/types.h>
#include <nlist.h>
#include <link.h>
#include "link.h"
#include "postgres.h"

View File

@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/port/dynloader/hpux.c,v 1.7 1999/02/13 23:17:20 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/port/dynloader/hpux.c,v 1.8 1999/07/15 23:03:20 momjian Exp $
*
* NOTES
* all functions are defined here -- it's impossible to trace the
@ -18,7 +18,7 @@
/* System includes */
#include <stdio.h>
#include <a.out.h>
#include <dl.h>
#include "dl.h"
#include "postgres.h"
#include "fmgr.h"
#include "utils/dynamic_loader.h"

View File

@ -6,7 +6,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: linux.h,v 1.5 1999/02/13 23:17:23 momjian Exp $
* $Id: linux.h,v 1.6 1999/07/15 23:03:20 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@ -16,7 +16,7 @@
#include "fmgr.h" /* for func_ptr */
#include "utils/dynamic_loader.h"
#ifdef __ELF__
#include "dlfcn.h"
#include <dlfcn.h>
#endif
/* dynloader.c */

View File

@ -1,5 +1,5 @@
#include <mach-o/rld.h>
#include <streams/streams.h>
#include "mach-o/rld.h"
#include "streams/streams.h"
#include <stdlib.h>
static char *lastError = NULL;

View File

@ -9,14 +9,14 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/port/dynloader/ultrix4.c,v 1.6 1999/07/15 15:19:36 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/port/dynloader/ultrix4.c,v 1.7 1999/07/15 23:03:20 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#include <stdio.h>
#include <postgres.h>
#include "postgres.h"
#include "dl.h"
#include <utils/dynamic_loader.h>
#include "utils/dynamic_loader.h"
#include "postgres.h"
#include "fmgr.h"
#include "port-protos.h"

View File

@ -6,7 +6,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: ultrix4.h,v 1.3 1999/02/13 23:17:29 momjian Exp $
* $Id: ultrix4.h,v 1.4 1999/07/15 23:03:21 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@ -35,11 +35,11 @@
#define _DL_HEADER_
#include <stdio.h> /* needed to declare FILE for ldfcn.h */
#include <filehdr.h>
#include <syms.h>
#include <ldfcn.h>
#include <reloc.h>
#include <scnhdr.h>
#include "filehdr.h"
#include "syms.h"
#include "ldfcn.h"
#include "reloc.h"
#include "scnhdr.h"
typedef long CoreAddr;

View File

@ -1,5 +1,5 @@
#ifndef _POSIX_SOURCE
#include <libc.h>
#include "libc.h"
#else
#include <unistd.h>
#include <stdlib.h>

View File

@ -1,4 +1,4 @@
/* $Id: strerror.c,v 1.5 1998/09/01 03:24:33 momjian Exp $ */
/* $Id: strerror.c,v 1.6 1999/07/15 23:03:18 momjian Exp $ */
/*
* strerror - map error number to descriptive string
@ -9,9 +9,9 @@
* modified for ANSI by D'Arcy J.M. Cain
*/
#include <string.h>
#include <stdio.h>
#include <errno.h>
#include <string.h>
#include <stdio.h>
#include <errno.h>
extern const char *const sys_errlist[];
extern int sys_nerr;

View File

@ -10,7 +10,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/postmaster/postmaster.c,v 1.109 1999/07/15 15:19:38 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/postmaster/postmaster.c,v 1.110 1999/07/15 23:03:22 momjian Exp $
*
* NOTES
*
@ -74,7 +74,7 @@
#endif
#ifdef __CYGWIN32__
#include <getopt.h>
#include "getopt.h"
#endif
#include "storage/ipc.h"

View File

@ -50,11 +50,11 @@ static char sccsid[] = "@(#)regcomp.c 8.5 (Berkeley) 3/20/94";
#include <stdlib.h>
#include <assert.h>
#include <regex/regex.h>
#include <regex/utils.h>
#include <regex/regex2.h>
#include <regex/cclass.h>
#include <regex/cname.h>
#include "regex/regex.h"
#include "regex/utils.h"
#include "regex/regex2.h"
#include "regex/cclass.h"
#include "regex/cname.h"
/*
* parse structure, passed up and down to avoid global variables and

View File

@ -50,9 +50,9 @@ static char sccsid[] = "@(#)regerror.c 8.4 (Berkeley) 3/20/94";
#include <stdlib.h>
#include <assert.h>
#include <regex/regex.h>
#include <regex/utils.h>
#include <regex/regex2.h>
#include "regex/regex.h"
#include "regex/utils.h"
#include "regex/regex2.h"
/* ========= begin header generated by ./mkh ========= */
#ifdef __cplusplus

View File

@ -57,9 +57,9 @@ static char sccsid[] = "@(#)regexec.c 8.3 (Berkeley) 3/20/94";
#include <ctype.h>
#include <assert.h>
#include <regex/regex.h>
#include <regex/utils.h>
#include <regex/regex2.h>
#include "regex/regex.h"
#include "regex/utils.h"
#include "regex/regex2.h"
static int nope = 0; /* for use in asserts; shuts lint up */

View File

@ -46,9 +46,9 @@ static char sccsid[] = "@(#)regfree.c 8.3 (Berkeley) 3/20/94";
#include <stdio.h>
#include <stdlib.h>
#include <regex/regex.h>
#include <regex/utils.h>
#include <regex/regex2.h>
#include "regex/regex.h"
#include "regex/utils.h"
#include "regex/regex2.h"
/*
- regfree - free everything

View File

@ -1,13 +1,13 @@
/*
* a simple regexp debug program
*
* $Header: /cvsroot/pgsql/src/backend/regex/Attic/retest.c,v 1.2 1999/05/25 16:10:45 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/regex/Attic/retest.c,v 1.3 1999/07/15 23:03:24 momjian Exp $
*/
#include <stdio.h>
#include <string.h>
#include "postgres.h"
#include <regex/regex.h>
#include "regex/regex.h"
int
main()

View File

@ -8,7 +8,7 @@
#
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/backend/utils/Attic/Gen_fmgrtab.sh.in,v 1.15 1999/04/09 22:35:41 tgl Exp $
# $Header: /cvsroot/pgsql/src/backend/utils/Attic/Gen_fmgrtab.sh.in,v 1.16 1999/07/15 23:03:25 momjian Exp $
#
# NOTES
# Passes any -D options on to cpp prior to generating the list
@ -83,7 +83,7 @@ cat > $HFILE <<FuNkYfMgRsTuFf
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: Gen_fmgrtab.sh.in,v 1.15 1999/04/09 22:35:41 tgl Exp $
* $Id: Gen_fmgrtab.sh.in,v 1.16 1999/07/15 23:03:25 momjian Exp $
*
* NOTES
* ******************************
@ -206,7 +206,7 @@ cat > $TABCFILE <<FuNkYfMgRtAbStUfF
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/Attic/Gen_fmgrtab.sh.in,v 1.15 1999/04/09 22:35:41 tgl Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/Attic/Gen_fmgrtab.sh.in,v 1.16 1999/07/15 23:03:25 momjian Exp $
*
* NOTES
*
@ -225,7 +225,7 @@ cat > $TABCFILE <<FuNkYfMgRtAbStUfF
*/
#include <string.h>
#include <postgres.h>
#include "postgres.h"
#include "utils/fmgrtab.h"
FuNkYfMgRtAbStUfF

View File

@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/adt/acl.c,v 1.37 1999/07/09 03:28:51 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/adt/acl.c,v 1.38 1999/07/15 23:03:25 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@ -15,7 +15,7 @@
#include <string.h>
#include "postgres.h"
#include <utils/memutils.h>
#include "utils/memutils.h"
#include "utils/acl.h"
#include "utils/syscache.h"
#include "catalog/catalog.h"

View File

@ -6,7 +6,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/adt/Attic/chunk.c,v 1.20 1999/05/25 16:11:55 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/adt/Attic/chunk.c,v 1.21 1999/07/15 23:03:26 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@ -25,7 +25,7 @@
#include "utils/memutils.h"
#ifndef HAVE_MEMMOVE
#include <regex/utils.h>
#include "regex/utils.h"
#else
#include <string.h>
#endif

View File

@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/adt/Attic/filename.c,v 1.19 1999/07/15 15:20:15 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/adt/Attic/filename.c,v 1.20 1999/07/15 23:03:26 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@ -19,7 +19,7 @@
#include <sys/param.h>
#include "postgres.h"
#include <miscadmin.h>
#include "miscadmin.h"
#include "utils/builtins.h" /* where function declarations go */
char *

View File

@ -16,7 +16,7 @@
*/
#if defined(LIBC_SCCS) && !defined(lint)
static const char rcsid[] = "$Id: inet_net_ntop.c,v 1.6 1999/05/25 16:12:04 momjian Exp $";
static const char rcsid[] = "$Id: inet_net_ntop.c,v 1.7 1999/07/15 23:03:26 momjian Exp $";
#endif
@ -30,8 +30,8 @@ static const char rcsid[] = "$Id: inet_net_ntop.c,v 1.6 1999/05/25 16:12:04 momj
#include <string.h>
#include <stdlib.h>
#include <postgres.h>
#include <utils/builtins.h>
#include "postgres.h"
#include "utils/builtins.h"
#ifdef SPRINTF_CHAR
#define SPRINTF(x) strlen(sprintf/**/x)

View File

@ -16,7 +16,7 @@
*/
#if defined(LIBC_SCCS) && !defined(lint)
static const char rcsid[] = "$Id: inet_net_pton.c,v 1.8 1999/05/25 16:12:05 momjian Exp $";
static const char rcsid[] = "$Id: inet_net_pton.c,v 1.9 1999/07/15 23:03:27 momjian Exp $";
#endif
@ -32,8 +32,8 @@ static const char rcsid[] = "$Id: inet_net_pton.c,v 1.8 1999/05/25 16:12:05 momj
#include <string.h>
#include <stdlib.h>
#include <postgres.h>
#include <utils/builtins.h>
#include "postgres.h"
#include "utils/builtins.h"
#ifdef SPRINTF_CHAR
#define SPRINTF(x) strlen(sprintf/**/x)

View File

@ -1,14 +1,14 @@
/*
* PostgreSQL type definitions for MAC addresses.
*
* $Id: mac.c,v 1.11 1999/07/15 22:39:59 momjian Exp $
* $Id: mac.c,v 1.12 1999/07/15 23:03:27 momjian Exp $
*/
#include <stdio.h>
#include <string.h>
#include <postgres.h>
#include <utils/builtins.h>
#include "postgres.h"
#include "utils/builtins.h"
manufacturer manufacturers[] = {
{0x00, 0x00, 0x0C, "Cisco"},

View File

@ -4,7 +4,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: nabstime.c,v 1.57 1999/07/15 15:20:18 momjian Exp $
* $Id: nabstime.c,v 1.58 1999/07/15 23:03:27 momjian Exp $
*
*/
#include <stdio.h>
@ -13,7 +13,7 @@
#include <sys/types.h>
#include "postgres.h"
#include <miscadmin.h>
#include "miscadmin.h"
#ifdef HAVE_FLOAT_H
#include <float.h>
#endif

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