Commit 0cf1b795 authored by Bruce Momjian's avatar Bruce Momjian

Cleanup of /include #include's, for 6.6 only.

parent ad494886
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/access/hash/hashscan.c,v 1.17 1999/02/13 23:14:20 momjian Exp $ * $Header: /cvsroot/pgsql/src/backend/access/hash/hashscan.c,v 1.18 1999/07/14 01:19:36 momjian Exp $
* *
* NOTES * NOTES
* Because we can be doing an index scan on a relation while we * Because we can be doing an index scan on a relation while we
...@@ -30,6 +30,7 @@ ...@@ -30,6 +30,7 @@
#include <postgres.h> #include <postgres.h>
#include <access/hash.h> #include <access/hash.h>
#include <utils/mcxt.h>
static void _hash_scandel(IndexScanDesc scan, BlockNumber blkno, OffsetNumber offno); static void _hash_scandel(IndexScanDesc scan, BlockNumber blkno, OffsetNumber offno);
static bool _hash_scantouched(IndexScanDesc scan, BlockNumber blkno, OffsetNumber offno); static bool _hash_scantouched(IndexScanDesc scan, BlockNumber blkno, OffsetNumber offno);
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/access/hash/hashutil.c,v 1.15 1999/02/13 23:14:21 momjian Exp $ * $Header: /cvsroot/pgsql/src/backend/access/hash/hashutil.c,v 1.16 1999/07/14 01:19:36 momjian Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
...@@ -18,6 +18,7 @@ ...@@ -18,6 +18,7 @@
#include <fmgr.h> #include <fmgr.h>
#include <utils/memutils.h> #include <utils/memutils.h>
#include <access/iqual.h> #include <access/iqual.h>
#include <utils/mcxt.h>
#ifndef HAVE_MEMMOVE #ifndef HAVE_MEMMOVE
#include <regex/utils.h> #include <regex/utils.h>
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/access/heap/heapam.c,v 1.46 1999/07/09 04:51:27 momjian Exp $ * $Header: /cvsroot/pgsql/src/backend/access/heap/heapam.c,v 1.47 1999/07/14 01:19:37 momjian Exp $
* *
* *
* INTERFACE ROUTINES * INTERFACE ROUTINES
...@@ -88,6 +88,8 @@ ...@@ -88,6 +88,8 @@
#include <access/xact.h> #include <access/xact.h>
#include <utils/inval.h> #include <utils/inval.h>
#include <utils/memutils.h> #include <utils/memutils.h>
#include <utils/builtins.h>
#include <utils/mcxt.h>
#ifndef HAVE_MEMMOVE #ifndef HAVE_MEMMOVE
#include <regex/utils.h> #include <regex/utils.h>
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/access/index/indexam.c,v 1.30 1999/02/13 23:14:30 momjian Exp $ * $Header: /cvsroot/pgsql/src/backend/access/index/indexam.c,v 1.31 1999/07/14 01:19:38 momjian Exp $
* *
* INTERFACE ROUTINES * INTERFACE ROUTINES
* index_open - open an index relation by relationId * index_open - open an index relation by relationId
...@@ -70,6 +70,7 @@ ...@@ -70,6 +70,7 @@
#include <fmgr.h> #include <fmgr.h>
#include <storage/lmgr.h> #include <storage/lmgr.h>
#include <access/heapam.h> #include <access/heapam.h>
#include <utils/mcxt.h>
/* ---------------- /* ----------------
* undefine macros we aren't going to use that would otherwise * undefine macros we aren't going to use that would otherwise
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/access/nbtree/nbtinsert.c,v 1.42 1999/05/25 22:04:11 momjian Exp $ * $Header: /cvsroot/pgsql/src/backend/access/nbtree/nbtinsert.c,v 1.43 1999/07/14 01:19:39 momjian Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
...@@ -20,6 +20,7 @@ ...@@ -20,6 +20,7 @@
#include <access/heapam.h> #include <access/heapam.h>
#include <access/xact.h> #include <access/xact.h>
#include <fmgr.h> #include <fmgr.h>
#include <utils/mcxt.h>
#ifndef HAVE_MEMMOVE #ifndef HAVE_MEMMOVE
#include <regex/utils.h> #include <regex/utils.h>
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/access/nbtree/nbtpage.c,v 1.24 1999/06/07 14:28:22 vadim Exp $ * $Header: /cvsroot/pgsql/src/backend/access/nbtree/nbtpage.c,v 1.25 1999/07/14 01:19:41 momjian Exp $
* *
* NOTES * NOTES
* Postgres btree pages look like ordinary relation pages. The opaque * Postgres btree pages look like ordinary relation pages. The opaque
...@@ -28,6 +28,7 @@ ...@@ -28,6 +28,7 @@
#include <access/nbtree.h> #include <access/nbtree.h>
#include <miscadmin.h> #include <miscadmin.h>
#include <storage/lmgr.h> #include <storage/lmgr.h>
#include <utils/mcxt.h>
#ifndef HAVE_MEMMOVE #ifndef HAVE_MEMMOVE
#include <regex/utils.h> #include <regex/utils.h>
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/access/nbtree/Attic/nbtscan.c,v 1.23 1999/05/25 22:04:14 momjian Exp $ * $Header: /cvsroot/pgsql/src/backend/access/nbtree/Attic/nbtscan.c,v 1.24 1999/07/14 01:19:41 momjian Exp $
* *
* *
* NOTES * NOTES
...@@ -31,6 +31,7 @@ ...@@ -31,6 +31,7 @@
#include <storage/bufpage.h> #include <storage/bufpage.h>
#include <access/nbtree.h> #include <access/nbtree.h>
#include <utils/mcxt.h>
typedef struct BTScanListData typedef struct BTScanListData
{ {
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/access/nbtree/nbtsearch.c,v 1.45 1999/05/25 18:20:30 vadim Exp $ * $Header: /cvsroot/pgsql/src/backend/access/nbtree/nbtsearch.c,v 1.46 1999/07/14 01:19:41 momjian Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
...@@ -19,6 +19,7 @@ ...@@ -19,6 +19,7 @@
#include <storage/bufpage.h> #include <storage/bufpage.h>
#include <access/nbtree.h> #include <access/nbtree.h>
#include <catalog/pg_proc.h> #include <catalog/pg_proc.h>
#include <utils/mcxt.h>
#ifndef HAVE_MEMMOVE #ifndef HAVE_MEMMOVE
#include <regex/utils.h> #include <regex/utils.h>
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Id: nbtsort.c,v 1.40 1999/05/25 18:20:31 vadim Exp $ * $Id: nbtsort.c,v 1.41 1999/07/14 01:19:42 momjian Exp $
* *
* NOTES * NOTES
* *
...@@ -54,6 +54,7 @@ ...@@ -54,6 +54,7 @@
#include "access/nbtree.h" #include "access/nbtree.h"
#include "storage/bufpage.h" #include "storage/bufpage.h"
#include "utils/memutils.h" #include "utils/memutils.h"
#include "utils/mcxt.h"
#ifndef HAVE_MEMMOVE #ifndef HAVE_MEMMOVE
#include <regex/utils.h> #include <regex/utils.h>
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/access/nbtree/nbtutils.c,v 1.27 1999/05/25 18:20:31 vadim Exp $ * $Header: /cvsroot/pgsql/src/backend/access/nbtree/nbtutils.c,v 1.28 1999/07/14 01:19:43 momjian Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
...@@ -21,6 +21,7 @@ ...@@ -21,6 +21,7 @@
#include "executor/execdebug.h" #include "executor/execdebug.h"
#include "fmgr.h" #include "fmgr.h"
#include "storage/bufpage.h" #include "storage/bufpage.h"
#include "utils/mcxt.h"
extern int NIndexTupleProcessed; extern int NIndexTupleProcessed;
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/access/rtree/Attic/rtget.c,v 1.13 1999/02/13 23:14:41 momjian Exp $ * $Header: /cvsroot/pgsql/src/backend/access/rtree/Attic/rtget.c,v 1.14 1999/07/14 01:19:44 momjian Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
...@@ -20,6 +20,8 @@ ...@@ -20,6 +20,8 @@
#include <access/iqual.h> #include <access/iqual.h>
#include <access/rtree.h> #include <access/rtree.h>
#include <storage/bufpage.h> #include <storage/bufpage.h>
#include <utils/mcxt.h>
#ifndef HAVE_MEMMOVE #ifndef HAVE_MEMMOVE
#include <regex/utils.h> #include <regex/utils.h>
#else #else
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/access/rtree/Attic/rtproc.c,v 1.18 1999/02/13 23:14:42 momjian Exp $ * $Header: /cvsroot/pgsql/src/backend/access/rtree/Attic/rtproc.c,v 1.19 1999/07/14 01:19:44 momjian Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
...@@ -16,6 +16,8 @@ ...@@ -16,6 +16,8 @@
#include <utils/builtins.h> #include <utils/builtins.h>
#include <utils/geo_decls.h> #include <utils/geo_decls.h>
#include <utils/mcxt.h>
#ifndef HAVE_MEMMOVE #ifndef HAVE_MEMMOVE
#include <regex/utils.h> #include <regex/utils.h>
#else #else
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/access/rtree/Attic/rtscan.c,v 1.23 1999/05/25 16:07:40 momjian Exp $ * $Header: /cvsroot/pgsql/src/backend/access/rtree/Attic/rtscan.c,v 1.24 1999/07/14 01:19:45 momjian Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
...@@ -20,6 +20,8 @@ ...@@ -20,6 +20,8 @@
#include <storage/bufpage.h> #include <storage/bufpage.h>
#include <access/rtree.h> #include <access/rtree.h>
#include <access/rtstrat.h> #include <access/rtstrat.h>
#include <utils/mcxt.h>
#ifndef HAVE_MEMMOVE #ifndef HAVE_MEMMOVE
#include <regex/utils.h> #include <regex/utils.h>
#else #else
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
* *
* Copyright (c) 1994, Regents of the University of California * Copyright (c) 1994, Regents of the University of California
* *
* $Id: xid.c,v 1.22 1999/05/25 16:07:52 momjian Exp $ * $Id: xid.c,v 1.23 1999/07/14 01:19:45 momjian Exp $
* *
* OLD COMMENTS * OLD COMMENTS
* XXX WARNING * XXX WARNING
...@@ -22,6 +22,7 @@ ...@@ -22,6 +22,7 @@
#include <postgres.h> #include <postgres.h>
#include <access/xact.h> #include <access/xact.h>
#include <utils/mcxt.h>
extern TransactionId NullTransactionId; extern TransactionId NullTransactionId;
extern TransactionId DisabledTransactionId; extern TransactionId DisabledTransactionId;
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
* *
* Copyright (c) 1994, Regents of the University of California * Copyright (c) 1994, Regents of the University of California
* *
* $Id: stringinfo.c,v 1.17 1999/05/26 12:55:14 momjian Exp $ * $Id: stringinfo.c,v 1.18 1999/07/14 01:19:46 momjian Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
...@@ -18,6 +18,7 @@ ...@@ -18,6 +18,7 @@
#include "postgres.h" #include "postgres.h"
#include "lib/stringinfo.h" #include "lib/stringinfo.h"
#include "utils/mcxt.h"
#ifdef NOT_USED #ifdef NOT_USED
/* /*
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
* Dec 17, 1997 - Todd A. Brandys * Dec 17, 1997 - Todd A. Brandys
* Orignal Version Completed. * Orignal Version Completed.
* *
* $Id: crypt.c,v 1.18 1999/05/27 04:09:45 momjian Exp $ * $Id: crypt.c,v 1.19 1999/07/14 01:19:47 momjian Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
...@@ -24,6 +24,7 @@ ...@@ -24,6 +24,7 @@
#include "utils/nabstime.h" #include "utils/nabstime.h"
#include "storage/fd.h" #include "storage/fd.h"
#include "libpq/crypt.h" #include "libpq/crypt.h"
#include "utils/mcxt.h"
#ifdef HAVE_CRYPT_H #ifdef HAVE_CRYPT_H
#include <crypt.h> #include <crypt.h>
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/nodes/list.c,v 1.21 1999/05/25 16:09:08 momjian Exp $ * $Header: /cvsroot/pgsql/src/backend/nodes/list.c,v 1.22 1999/07/14 01:19:49 momjian Exp $
* *
* NOTES * NOTES
* XXX a few of the following functions are duplicated to handle * XXX a few of the following functions are duplicated to handle
...@@ -28,6 +28,7 @@ ...@@ -28,6 +28,7 @@
#include "utils/builtins.h" /* for namecpy */ #include "utils/builtins.h" /* for namecpy */
#include "utils/elog.h" #include "utils/elog.h"
#include "utils/palloc.h" #include "utils/palloc.h"
#include "utils/mcxt.h"
/* /*
* makeList * makeList
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/nodes/nodes.c,v 1.7 1999/02/13 23:15:59 momjian Exp $ * $Header: /cvsroot/pgsql/src/backend/nodes/nodes.c,v 1.8 1999/07/14 01:19:50 momjian Exp $
* *
* HISTORY * HISTORY
* Andrew Yu Oct 20, 1994 file creation * Andrew Yu Oct 20, 1994 file creation
...@@ -19,8 +19,8 @@ ...@@ -19,8 +19,8 @@
#include "postgres.h" #include "postgres.h"
#include "utils/palloc.h" #include "utils/palloc.h"
#include "utils/elog.h" #include "utils/elog.h"
#include "nodes/nodes.h" /* where func declarations of this file #include "nodes/nodes.h"
* goes */ #include "utils/mcxt.h"
/* /*
* newNode - * newNode -
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
* geqo_erx.c * geqo_erx.c
* edge recombination crossover [ER] * edge recombination crossover [ER]
* *
* $Id: geqo_erx.c,v 1.11 1999/02/13 23:16:06 momjian Exp $ * $Id: geqo_erx.c,v 1.12 1999/07/14 01:19:51 momjian Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
...@@ -51,6 +51,7 @@ ...@@ -51,6 +51,7 @@
#include "optimizer/geqo_recombination.h" #include "optimizer/geqo_recombination.h"
#include "optimizer/geqo_random.h" #include "optimizer/geqo_random.h"
#include "utils/mcxt.h"
static int gimme_edge(Gene gene1, Gene gene2, Edge *edge_table); static int gimme_edge(Gene gene1, Gene gene2, Edge *edge_table);
static void remove_gene(Gene gene, Edge edge, Edge *edge_table); static void remove_gene(Gene gene, Edge edge, Edge *edge_table);
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
* *
* Copyright (c) 1994, Regents of the University of California * Copyright (c) 1994, Regents of the University of California
* *
* $Id: geqo_params.c,v 1.17 1999/05/22 23:27:19 tgl Exp $ * $Id: geqo_params.c,v 1.18 1999/07/14 01:19:51 momjian Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
...@@ -45,6 +45,8 @@ ...@@ -45,6 +45,8 @@
#include "storage/fd.h" #include "storage/fd.h"
#include "utils/mcxt.h"
/* /*
* Parameter values read from the config file (or defaulted) are stored here * Parameter values read from the config file (or defaulted) are stored here
* by geqo_params(). * by geqo_params().
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
* PMX operator according to Goldberg & Lingle * PMX operator according to Goldberg & Lingle
* (Proc Int'l Conf on GA's) * (Proc Int'l Conf on GA's)
* *
* $Id: geqo_pmx.c,v 1.5 1999/02/13 23:16:11 momjian Exp $ * $Id: geqo_pmx.c,v 1.6 1999/07/14 01:19:52 momjian Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
...@@ -53,6 +53,7 @@ ...@@ -53,6 +53,7 @@
#include "optimizer/geqo_recombination.h" #include "optimizer/geqo_recombination.h"
#include "optimizer/geqo_random.h" #include "optimizer/geqo_random.h"
#include "utils/mcxt.h"
/* pmx /* pmx
* *
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
* *
* Copyright (c) 1994, Regents of the University of California * Copyright (c) 1994, Regents of the University of California
* *
* $Id: geqo_pool.c,v 1.12 1999/05/25 16:09:18 momjian Exp $ * $Id: geqo_pool.c,v 1.13 1999/07/14 01:19:52 momjian Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
...@@ -41,6 +41,7 @@ ...@@ -41,6 +41,7 @@
#include "optimizer/geqo_copy.h" #include "optimizer/geqo_copy.h"
#include "optimizer/geqo_recombination.h" #include "optimizer/geqo_recombination.h"
#include "utils/mcxt.h"
static int compare(const void *arg1, const void *arg2); static int compare(const void *arg1, const void *arg2);
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
* geqo_recombination.c * geqo_recombination.c
* misc recombination procedures * misc recombination procedures
* *
* $Id: geqo_recombination.c,v 1.7 1999/02/13 23:16:12 momjian Exp $ * $Id: geqo_recombination.c,v 1.8 1999/07/14 01:19:53 momjian Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
...@@ -38,6 +38,7 @@ ...@@ -38,6 +38,7 @@
#include "optimizer/geqo_recombination.h" #include "optimizer/geqo_recombination.h"
#include "optimizer/geqo_random.h" #include "optimizer/geqo_random.h"
#include "utils/mcxt.h"
/* /*
* init_tour * init_tour
......
...@@ -6,7 +6,7 @@ ...@@ -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.43 1999/07/08 02:46:39 momjian Exp $ * $Id: fd.c,v 1.44 1999/07/14 01:19:53 momjian Exp $
* *
* NOTES: * NOTES:
* *
...@@ -52,6 +52,7 @@ ...@@ -52,6 +52,7 @@
#include "utils/palloc.h" #include "utils/palloc.h"
#include "storage/fd.h" #include "storage/fd.h"
#include "utils/elog.h" #include "utils/elog.h"
#include "utils/mcxt.h"
/* /*
* Problem: Postgres does a system(ld...) to do dynamic loading. * Problem: Postgres does a system(ld...) to do dynamic loading.
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/storage/smgr/smgr.c,v 1.24 1999/05/25 16:11:34 momjian Exp $ * $Header: /cvsroot/pgsql/src/backend/storage/smgr/smgr.c,v 1.25 1999/07/14 01:19:54 momjian Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
...@@ -22,6 +22,7 @@ ...@@ -22,6 +22,7 @@
#include "storage/smgr.h" #include "storage/smgr.h"
#include "utils/rel.h" #include "utils/rel.h"
#include "utils/palloc.h" #include "utils/palloc.h"
#include "utils/mcxt.h"
static void smgrshutdown(int dummy); static void smgrshutdown(int dummy);
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/storage/smgr/smgrtype.c,v 1.11 1999/02/13 23:18:40 momjian Exp $ * $Header: /cvsroot/pgsql/src/backend/storage/smgr/smgrtype.c,v 1.12 1999/07/14 01:19:55 momjian Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
...@@ -17,6 +17,7 @@ ...@@ -17,6 +17,7 @@
#include "utils/builtins.h" /* where the declarations go */ #include "utils/builtins.h" /* where the declarations go */
#include "utils/palloc.h" #include "utils/palloc.h"
#include "storage/smgr.h" #include "storage/smgr.h"
#include "utils/mcxt.h"
typedef struct smgrid typedef struct smgrid
{ {
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/adt/bool.c,v 1.16 1999/02/13 23:19:04 momjian Exp $ * $Header: /cvsroot/pgsql/src/backend/utils/adt/bool.c,v 1.17 1999/07/14 01:19:56 momjian Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
...@@ -17,6 +17,7 @@ ...@@ -17,6 +17,7 @@
#include "utils/builtins.h" /* where the declarations go */ #include "utils/builtins.h" /* where the declarations go */
#include "utils/palloc.h" #include "utils/palloc.h"
#include "utils/mcxt.h"
/***************************************************************************** /*****************************************************************************
* USER I/O ROUTINES * * USER I/O ROUTINES *
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
* workings can be found in the book "Software Solutions in C" by * workings can be found in the book "Software Solutions in C" by
* Dale Schumacher, Academic Press, ISBN: 0-12-632360-7. * Dale Schumacher, Academic Press, ISBN: 0-12-632360-7.
* *
* $Header: /cvsroot/pgsql/src/backend/utils/adt/cash.c,v 1.28 1999/05/25 16:11:52 momjian Exp $ * $Header: /cvsroot/pgsql/src/backend/utils/adt/cash.c,v 1.29 1999/07/14 01:19:57 momjian Exp $
*/ */
#include <stdio.h> #include <stdio.h>
...@@ -22,6 +22,7 @@ ...@@ -22,6 +22,7 @@
#include "miscadmin.h" #include "miscadmin.h"
#include "utils/builtins.h" #include "utils/builtins.h"
#include "utils/cash.h" #include "utils/cash.h"
#include "utils/mcxt.h"
static const char *num_word(Cash value); static const char *num_word(Cash value);
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/adt/char.c,v 1.22 1999/05/25 16:11:53 momjian Exp $ * $Header: /cvsroot/pgsql/src/backend/utils/adt/char.c,v 1.23 1999/07/14 01:19:58 momjian Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
...@@ -17,6 +17,7 @@ ...@@ -17,6 +17,7 @@
#include "postgres.h" #include "postgres.h"
#include "utils/palloc.h" #include "utils/palloc.h"
#include "utils/builtins.h" /* where the declarations go */ #include "utils/builtins.h" /* where the declarations go */
#include "utils/mcxt.h"
/***************************************************************************** /*****************************************************************************
* USER I/O ROUTINES * * USER I/O ROUTINES *
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/adt/date.c,v 1.32 1999/05/25 16:11:56 momjian Exp $ * $Header: /cvsroot/pgsql/src/backend/utils/adt/date.c,v 1.33 1999/07/14 01:19:59 momjian Exp $
* *
* NOTES * NOTES
* This code is actually (almost) unused. * This code is actually (almost) unused.
...@@ -42,6 +42,7 @@ ...@@ -42,6 +42,7 @@
#include "utils/builtins.h" /* where function declarations go */ #include "utils/builtins.h" /* where function declarations go */
#include "utils/palloc.h" #include "utils/palloc.h"
#include "utils/dt.h" #include "utils/dt.h"
#include "utils/mcxt.h"
#define INVALID_RELTIME_STR "Undefined RelTime" #define INVALID_RELTIME_STR "Undefined RelTime"
#define INVALID_RELTIME_STR_LEN (sizeof(INVALID_RELTIME_STR)-1) #define INVALID_RELTIME_STR_LEN (sizeof(INVALID_RELTIME_STR)-1)
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/adt/datetime.c,v 1.33 1999/05/25 16:11:58 momjian Exp $ * $Header: /cvsroot/pgsql/src/backend/utils/adt/datetime.c,v 1.34 1999/07/14 01:19:59 momjian Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
...@@ -24,6 +24,7 @@ ...@@ -24,6 +24,7 @@
#include "utils/nabstime.h" #include "utils/nabstime.h"
#include "utils/datetime.h" #include "utils/datetime.h"
#include "access/xact.h" #include "access/xact.h"
#include "utils/mcxt.h"
static int date2tm(DateADT dateVal, int *tzp, struct tm * tm, double *fsec, char **tzn); static int date2tm(DateADT dateVal, int *tzp, struct tm * tm, double *fsec, char **tzn);
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/adt/datum.c,v 1.12 1999/02/13 23:19:09 momjian Exp $ * $Header: /cvsroot/pgsql/src/backend/utils/adt/datum.c,v 1.13 1999/07/14 01:20:00 momjian Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
...@@ -32,6 +32,7 @@ ...@@ -32,6 +32,7 @@
#include "utils/datum.h" #include "utils/datum.h"
#include "catalog/pg_type.h" #include "catalog/pg_type.h"
#include "utils/palloc.h" #include "utils/palloc.h"
#include "utils/mcxt.h"
/*------------------------------------------------------------------------- /*-------------------------------------------------------------------------
* datumGetSize * datumGetSize
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/adt/Attic/dt.c,v 1.72 1999/07/08 03:22:46 momjian Exp $ * $Header: /cvsroot/pgsql/src/backend/utils/adt/Attic/dt.c,v 1.73 1999/07/14 01:20:01 momjian Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
#include <sys/timeb.h> #include <sys/timeb.h>
#endif #endif
#include "utils/builtins.h" #include "utils/builtins.h"
#include "utils/mcxt.h"
static int DecodeDate(char *str, int fmask, int *tmask, struct tm * tm); static int DecodeDate(char *str, int fmask, int *tmask, struct tm * tm);
static int DecodeNumber(int flen, char *field, static int DecodeNumber(int flen, char *field,
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/adt/Attic/filename.c,v 1.17 1999/02/13 23:19:13 momjian Exp $ * $Header: /cvsroot/pgsql/src/backend/utils/adt/Attic/filename.c,v 1.18 1999/07/14 01:20:02 momjian Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
...@@ -21,6 +21,7 @@ ...@@ -21,6 +21,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" /* where function declarations go */
#include "utils/mcxt.h"
char * char *
filename_in(char *file) filename_in(char *file)
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/adt/float.c,v 1.43 1999/07/13 20:12:47 momjian Exp $ * $Header: /cvsroot/pgsql/src/backend/utils/adt/float.c,v 1.44 1999/07/14 01:20:03 momjian Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
...@@ -62,6 +62,7 @@ ...@@ -62,6 +62,7 @@
#include "fmgr.h" #include "fmgr.h"
#include "utils/builtins.h" /* for ftod() prototype */ #include "utils/builtins.h" /* for ftod() prototype */
#include "utils/palloc.h" #include "utils/palloc.h"
#include "utils/mcxt.h"
#ifndef NAN #ifndef NAN
#define NAN (0.0/0.0) #define NAN (0.0/0.0)
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/adt/geo_ops.c,v 1.41 1999/02/21 03:49:30 scrappy Exp $ * $Header: /cvsroot/pgsql/src/backend/utils/adt/geo_ops.c,v 1.42 1999/07/14 01:20:03 momjian Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
...@@ -23,6 +23,7 @@ ...@@ -23,6 +23,7 @@
#include "utils/geo_decls.h" #include "utils/geo_decls.h"
#include "utils/palloc.h" #include "utils/palloc.h"
#include "utils/mcxt.h"
#ifndef PI #ifndef PI
#define PI 3.1415926536 #define PI 3.1415926536
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/adt/geo_selfuncs.c,v 1.8 1999/03/28 01:56:12 tgl Exp $ * $Header: /cvsroot/pgsql/src/backend/utils/adt/geo_selfuncs.c,v 1.9 1999/07/14 01:20:04 momjian Exp $
* *
* XXX These are totally bogus. * XXX These are totally bogus.
* *
...@@ -20,6 +20,7 @@ ...@@ -20,6 +20,7 @@
#include "utils/geo_decls.h" /* where function declarations go */ #include "utils/geo_decls.h" /* where function declarations go */
#include "utils/palloc.h" #include "utils/palloc.h"
#include "utils/builtins.h" #include "utils/builtins.h"
#include "utils/mcxt.h"
float64 float64
areasel(Oid opid, areasel(Oid opid,
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/adt/int.c,v 1.21 1999/07/09 15:09:54 tgl Exp $ * $Header: /cvsroot/pgsql/src/backend/utils/adt/int.c,v 1.22 1999/07/14 01:20:05 momjian Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
...@@ -37,6 +37,7 @@ ...@@ -37,6 +37,7 @@
#include "postgres.h" #include "postgres.h"
#include "fmgr.h" #include "fmgr.h"
#include "utils/builtins.h" /* where the declarations go */ #include "utils/builtins.h" /* where the declarations go */
#include "utils/mcxt.h"
#ifndef SHRT_MAX #ifndef SHRT_MAX
#define SHRT_MAX (0x7FFF) #define SHRT_MAX (0x7FFF)
......
...@@ -17,6 +17,7 @@ ...@@ -17,6 +17,7 @@
#include "postgres.h" #include "postgres.h"
#include "utils/palloc.h" #include "utils/palloc.h"
#include "utils/int8.h" #include "utils/int8.h"
#include "utils/mcxt.h"
#define MAXINT8LEN 25 #define MAXINT8LEN 25
......
...@@ -22,6 +22,7 @@ ...@@ -22,6 +22,7 @@
#include "utils/palloc.h" #include "utils/palloc.h"
#include "utils/builtins.h" /* where the function declarations go */ #include "utils/builtins.h" /* where the function declarations go */
#include "mb/pg_wchar.h" #include "mb/pg_wchar.h"
#include "utils/mcxt.h"
static int like(pg_wchar * text, pg_wchar * p); static int like(pg_wchar * text, pg_wchar * p);
...@@ -111,7 +112,7 @@ textnlike(struct varlena * s, struct varlena * p) ...@@ -111,7 +112,7 @@ textnlike(struct varlena * s, struct varlena * p)
} }
/* $Revision: 1.25 $ /* $Revision: 1.26 $
** "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.
......
/* /*
* PostgreSQL type definitions for MAC addresses. * PostgreSQL type definitions for MAC addresses.
* *
* $Id: mac.c,v 1.8 1999/05/25 16:12:08 momjian Exp $ * $Id: mac.c,v 1.9 1999/07/14 01:20:05 momjian Exp $
*/ */
#include <stdio.h> #include <stdio.h>
...@@ -11,6 +11,7 @@ ...@@ -11,6 +11,7 @@
#include <utils/palloc.h> #include <utils/palloc.h>
#include <utils/builtins.h> #include <utils/builtins.h>
#include <utils/inet.h> #include <utils/inet.h>
#include "utils/mcxt.h"
manufacturer manufacturers[] = { manufacturer manufacturers[] = {
{0x00, 0x00, 0x0C, "Cisco"}, {0x00, 0x00, 0x0C, "Cisco"},
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* *
* Copyright (c) 1994, Regents of the University of California * Copyright (c) 1994, Regents of the University of California
* *
* $Id: nabstime.c,v 1.55 1999/05/25 16:12:09 momjian Exp $ * $Id: nabstime.c,v 1.56 1999/07/14 01:20:05 momjian Exp $
* *
*/ */
#include <stdio.h> #include <stdio.h>
...@@ -25,6 +25,7 @@ ...@@ -25,6 +25,7 @@
#endif #endif
#include "utils/builtins.h" #include "utils/builtins.h"
#include "access/xact.h" #include "access/xact.h"
#include "utils/mcxt.h"
static AbsoluteTime tm2abstime(struct tm * tm, int tz); static AbsoluteTime tm2abstime(struct tm * tm, int tz);
......
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/adt/name.c,v 1.18 1999/05/25 16:12:10 momjian Exp $ * $Header: /cvsroot/pgsql/src/backend/utils/adt/name.c,v 1.19 1999/07/14 01:20:06 momjian Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
...@@ -19,6 +19,7 @@ ...@@ -19,6 +19,7 @@
#include "postgres.h" #include "postgres.h"
#include "utils/builtins.h" /* where the declarations go */ #include "utils/builtins.h" /* where the declarations go */
#include "utils/palloc.h" /* where the declarations go */ #include "utils/palloc.h" /* where the declarations go */
#include "utils/mcxt.h"
/***************************************************************************** /*****************************************************************************
* USER I/O ROUTINES (none) * * USER I/O ROUTINES (none) *
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
* is for IP V4 CIDR notation, but prepared for V6: just * is for IP V4 CIDR notation, but prepared for V6: just
* add the necessary bits where the comments indicate. * add the necessary bits where the comments indicate.
* *
* $Id: network.c,v 1.10 1999/06/02 03:37:15 momjian Exp $ * $Id: network.c,v 1.11 1999/07/14 01:20:06 momjian Exp $
* Jon Postel RIP 16 Oct 1998 * Jon Postel RIP 16 Oct 1998
*/ */
...@@ -21,6 +21,7 @@ ...@@ -21,6 +21,7 @@
#include <utils/palloc.h> #include <utils/palloc.h>
#include <utils/builtins.h> #include <utils/builtins.h>
#include <utils/inet.h> #include <utils/inet.h>
#include "utils/mcxt.h"
static int v4bitncmp(unsigned int a1, unsigned int a2, int bits); static int v4bitncmp(unsigned int a1, unsigned int a2, int bits);
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
* *
* 1998 Jan Wieck * 1998 Jan Wieck
* *
* $Header: /cvsroot/pgsql/src/backend/utils/adt/numeric.c,v 1.16 1999/05/25 22:42:13 momjian Exp $ * $Header: /cvsroot/pgsql/src/backend/utils/adt/numeric.c,v 1.17 1999/07/14 01:20:06 momjian Exp $
* *
* ---------- * ----------
*/ */
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
#include "utils/builtins.h" #include "utils/builtins.h"
#include "utils/palloc.h" #include "utils/palloc.h"
#include "utils/numeric.h" #include "utils/numeric.h"
#include "utils/mcxt.h"
/* ---------- /* ----------
* Uncomment the following to enable compilation of dump_numeric() * Uncomment the following to enable compilation of dump_numeric()
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/adt/oid.c,v 1.23 1999/05/10 00:45:59 momjian Exp $ * $Header: /cvsroot/pgsql/src/backend/utils/adt/oid.c,v 1.24 1999/07/14 01:20:06 momjian Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
...@@ -17,6 +17,7 @@ ...@@ -17,6 +17,7 @@
#include "postgres.h" #include "postgres.h"
#include "utils/builtins.h" /* where function declarations go */ #include "utils/builtins.h" /* where function declarations go */
#include "utils/mcxt.h"
/***************************************************************************** /*****************************************************************************
* USER I/O ROUTINES * * USER I/O ROUTINES *
......
/* /*
* Edmund Mergl <E.Mergl@bawue.de> * Edmund Mergl <E.Mergl@bawue.de>
* *
* $Id: oracle_compat.c,v 1.18 1999/05/26 12:56:00 momjian Exp $ * $Id: oracle_compat.c,v 1.19 1999/07/14 01:20:06 momjian Exp $
* *
*/ */
#include <ctype.h> #include <ctype.h>
#include "postgres.h" #include "postgres.h"
#include "utils/mcxt.h"
text *lower(text *string); text *lower(text *string);
text *upper(text *string); text *upper(text *string);
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/adt/regexp.c,v 1.22 1999/02/13 23:19:30 momjian Exp $ * $Header: /cvsroot/pgsql/src/backend/utils/adt/regexp.c,v 1.23 1999/07/14 01:20: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
...@@ -33,6 +33,7 @@ ...@@ -33,6 +33,7 @@
#include <regex/regex.h> #include <regex/regex.h>
#include "utils/builtins.h" /* where the function declarations go */ #include "utils/builtins.h" /* where the function declarations go */
#include "utils/mcxt.h"
#if defined(DISABLE_XOPEN_NLS) #if defined(DISABLE_XOPEN_NLS)
#undef _XOPEN_SOURCE #undef _XOPEN_SOURCE
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/adt/tid.c,v 1.6 1999/02/13 23:19:34 momjian Exp $ * $Header: /cvsroot/pgsql/src/backend/utils/adt/tid.c,v 1.7 1999/07/14 01:20:07 momjian Exp $
* *
* NOTES * NOTES
* input routine largely stolen from boxin(). * input routine largely stolen from boxin().
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
#include "utils/palloc.h" #include "utils/palloc.h"
#include "utils/builtins.h" /* where function declarations go */ #include "utils/builtins.h" /* where function declarations go */
#include "utils/mcxt.h"
#define LDELIM '(' #define LDELIM '('
#define RDELIM ')' #define RDELIM ')'
......
...@@ -6,6 +6,7 @@ ...@@ -6,6 +6,7 @@
#include "miscadmin.h" #include "miscadmin.h"
#include "utils/builtins.h" #include "utils/builtins.h"
#include "access/xact.h" #include "access/xact.h"
#include "utils/mcxt.h"
time_t time_t
timestamp_in(const char *timestamp_str) timestamp_in(const char *timestamp_str)
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/adt/varlena.c,v 1.48 1999/05/25 16:12:21 momjian Exp $ * $Header: /cvsroot/pgsql/src/backend/utils/adt/varlena.c,v 1.49 1999/07/14 01:20:07 momjian Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
...@@ -17,6 +17,7 @@ ...@@ -17,6 +17,7 @@
#include "postgres.h" #include "postgres.h"
#include "utils/palloc.h" #include "utils/palloc.h"
#include "utils/builtins.h" /* where function declarations go */ #include "utils/builtins.h" /* where function declarations go */
#include "utils/mcxt.h"
#include "mb/pg_wchar.h" #include "mb/pg_wchar.h"
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
* *
* IDENTIFICATION * IDENTIFICATION
* *
* $Header: /cvsroot/pgsql/src/backend/utils/adt/version.c,v 1.6 1999/04/06 15:35:36 thomas Exp $ * $Header: /cvsroot/pgsql/src/backend/utils/adt/version.c,v 1.7 1999/07/14 01:20:08 momjian Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
...@@ -15,6 +15,7 @@ ...@@ -15,6 +15,7 @@
#include "postgres.h" #include "postgres.h"
#include "version.h" #include "version.h"
#include "utils/mcxt.h"
text *version(void); text *version(void);
......
...@@ -6,27 +6,13 @@ ...@@ -6,27 +6,13 @@
* *
* Copyright (c) 1994, Regents of the University of California * Copyright (c) 1994, Regents of the University of California
* *
* $Id: valid.h,v 1.18 1999/05/26 12:56:15 momjian Exp $ * $Id: valid.h,v 1.19 1999/07/14 01:20:08 momjian Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
#ifndef VALID_H #ifndef VALID_H
#define VALID_H #define VALID_H
#include <fmgr.h>
#include <access/heapam.h>
#include <access/valid.h>
#include <storage/bufmgr.h>
#include <storage/bufpage.h>
#include <utils/rel.h>
#include <utils/builtins.h>
#include <utils/tqual.h>
/* ----------------
* extern decl's
* ----------------
*/
/* ---------------- /* ----------------
* HeapKeyTest * HeapKeyTest
* *
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* *
* Copyright (c) 1994, Regents of the University of California * Copyright (c) 1994, Regents of the University of California
* *
* $Id: pg_type.h,v 1.63 1999/07/09 03:28:52 momjian Exp $ * $Id: pg_type.h,v 1.64 1999/07/14 01:20:09 momjian Exp $
* *
* NOTES * NOTES
* the genbki.sh script reads this file and generates .bki * the genbki.sh script reads this file and generates .bki
...@@ -18,8 +18,6 @@ ...@@ -18,8 +18,6 @@
#ifndef PG_TYPE_H #ifndef PG_TYPE_H
#define PG_TYPE_H #define PG_TYPE_H
#include <utils/rel.h>
/* ---------------- /* ----------------
* postgres.h contains the system type definitions and the * postgres.h contains the system type definitions and the
* CATALOG(), BOOTSTRAP and DATA() sugar words so this file * CATALOG(), BOOTSTRAP and DATA() sugar words so this file
......
...@@ -5,15 +5,13 @@ ...@@ -5,15 +5,13 @@
* *
* Copyright (c) 1994, Regents of the University of California * Copyright (c) 1994, Regents of the University of California
* *
* $Id: async.h,v 1.11 1999/02/13 23:21:17 momjian Exp $ * $Id: async.h,v 1.12 1999/07/14 01:20:11 momjian Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
#ifndef ASYNC_H #ifndef ASYNC_H
#define ASYNC_H #define ASYNC_H
#include <postgres.h>
/* notify-related SQL statements */ /* notify-related SQL statements */
extern void Async_Notify(char *relname); extern void Async_Notify(char *relname);
extern void Async_Listen(char *relname, int pid); extern void Async_Listen(char *relname, int pid);
......
...@@ -6,13 +6,14 @@ ...@@ -6,13 +6,14 @@
* *
* Copyright (c) 1994, Regents of the University of California * Copyright (c) 1994, Regents of the University of California
* *
* $Id: dbcommands.h,v 1.8 1999/03/16 03:24:18 momjian Exp $ * $Id: dbcommands.h,v 1.9 1999/07/14 01:20:12 momjian Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
#ifndef DBCOMMANDS_H #ifndef DBCOMMANDS_H
#define DBCOMMANDS_H #define DBCOMMANDS_H
#include "tcop/dest.h"
/* /*
* Originally from tmp/daemon.h. The functions declared in daemon.h does not * Originally from tmp/daemon.h. The functions declared in daemon.h does not
* exist; hence removed. -- AY 7/29/94 * exist; hence removed. -- AY 7/29/94
......
...@@ -10,6 +10,9 @@ ...@@ -10,6 +10,9 @@
#ifndef USER_H #ifndef USER_H
#define USER_H #define USER_H
#include "nodes/parsenodes.h"
#include "tcop/dest.h"
extern void DefineUser(CreateUserStmt *stmt, CommandDest); extern void DefineUser(CreateUserStmt *stmt, CommandDest);
extern void AlterUser(AlterUserStmt *stmt, CommandDest); extern void AlterUser(AlterUserStmt *stmt, CommandDest);
extern void RemoveUser(char *user, CommandDest); extern void RemoveUser(char *user, CommandDest);
......
...@@ -6,18 +6,20 @@ ...@@ -6,18 +6,20 @@
* *
* Copyright (c) 1994, Regents of the University of California * Copyright (c) 1994, Regents of the University of California
* *
* $Id: vacuum.h,v 1.20 1999/05/25 22:42:43 momjian Exp $ * $Id: vacuum.h,v 1.21 1999/07/14 01:20:15 momjian Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
#ifndef VACUUM_H #ifndef VACUUM_H
#define VACUUM_H #define VACUUM_H
#include "fmgr.h"
#include "access/funcindex.h" #include "access/funcindex.h"
#include "catalog/pg_index.h" #include "catalog/pg_index.h"
#include "catalog/pg_attribute.h" #include "catalog/pg_attribute.h"
#include "nodes/pg_list.h" #include "nodes/pg_list.h"
#include "storage/block.h" #include "storage/block.h"
#include "storage/itemptr.h"
#include "storage/off.h" #include "storage/off.h"
......
...@@ -6,15 +6,13 @@ ...@@ -6,15 +6,13 @@
* *
* Copyright (c) 1994, Regents of the University of California * Copyright (c) 1994, Regents of the University of California
* *
* $Id: execdebug.h,v 1.8 1999/02/23 07:39:40 thomas Exp $ * $Id: execdebug.h,v 1.9 1999/07/14 01:20:16 momjian Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
#ifndef EXECDEBUG_H #ifndef EXECDEBUG_H
#define EXECDEBUG_H #define EXECDEBUG_H
#include "access/printtup.h"
/* ---------------------------------------------------------------- /* ----------------------------------------------------------------
* debugging defines. * debugging defines.
* *
...@@ -319,8 +317,6 @@ extern int NIndexTupleInserted; ...@@ -319,8 +317,6 @@ extern int NIndexTupleInserted;
*/ */
#ifdef EXEC_MERGEJOINDEBUG #ifdef EXEC_MERGEJOINDEBUG
#include "nodes/print.h"
#define MJ_nodeDisplay(l) nodeDisplay(l) #define MJ_nodeDisplay(l) nodeDisplay(l)
#define MJ_printf(s) printf(s) #define MJ_printf(s) printf(s)
#define MJ1_printf(s, p) printf(s, p) #define MJ1_printf(s, p) printf(s, p)
......
...@@ -3,13 +3,14 @@ ...@@ -3,13 +3,14 @@
* spi.c * spi.c
* Server Programming Interface private declarations * Server Programming Interface private declarations
* *
* $Header: /cvsroot/pgsql/src/include/executor/spi_priv.h,v 1.4 1999/05/25 16:13:57 momjian Exp $ * $Header: /cvsroot/pgsql/src/include/executor/spi_priv.h,v 1.5 1999/07/14 01:20:17 momjian Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
#ifndef SPI_PRIV_H #ifndef SPI_PRIV_H
#define SPI_PRIV_H #define SPI_PRIV_H
#include "executor/spi.h"
#include "catalog/pg_type.h" #include "catalog/pg_type.h"
#include "access/printtup.h" #include "access/printtup.h"
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* Interface to hba.c * Interface to hba.c
* *
* *
* $Id: hba.h,v 1.13 1999/05/10 15:17:17 momjian Exp $ * $Id: hba.h,v 1.14 1999/07/14 01:20:17 momjian Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
...@@ -13,8 +13,7 @@ ...@@ -13,8 +13,7 @@
#include <netinet/in.h> #include <netinet/in.h>
#include "libpq/libpq-be.h" #include "libpq/pqcomm.h"
#define CONF_FILE "pg_hba.conf" #define CONF_FILE "pg_hba.conf"
/* Name of the config file */ /* Name of the config file */
......
/* $Id: pg_wchar.h,v 1.9 1999/07/11 22:47:19 ishii Exp $ */ /* $Id: pg_wchar.h,v 1.10 1999/07/14 01:20:20 momjian Exp $ */
#ifndef PG_WCHAR_H #ifndef PG_WCHAR_H
#define PG_WCHAR_H #define PG_WCHAR_H
#include <sys/types.h> #include <sys/types.h>
#include "postgres.h"
#include "miscadmin.h" /* for getdatabaseencoding() */
#define SQL_ASCII 0 /* SQL/ASCII */ #define SQL_ASCII 0 /* SQL/ASCII */
#define EUC_JP 1 /* EUC for Japanese */ #define EUC_JP 1 /* EUC for Japanese */
......
...@@ -7,6 +7,9 @@ ...@@ -7,6 +7,9 @@
#ifndef SUBSELECT_H #ifndef SUBSELECT_H
#define SUBSELECT_H #define SUBSELECT_H
#include "nodes/pg_list.h"
#include "nodes/plannodes.h"
extern int PlannerQueryLevel; /* level of current query */ extern int PlannerQueryLevel; /* level of current query */
extern List *PlannerInitPlan; /* init subplans for current query */ extern List *PlannerInitPlan; /* init subplans for current query */
extern List *PlannerParamVar; /* to get Var from Param->paramid */ extern List *PlannerParamVar; /* to get Var from Param->paramid */
......
...@@ -6,13 +6,16 @@ ...@@ -6,13 +6,16 @@
* *
* Copyright (c) 1994, Regents of the University of California * Copyright (c) 1994, Regents of the University of California
* *
* $Id: parse_coerce.h,v 1.12 1999/05/25 22:43:17 momjian Exp $ * $Id: parse_coerce.h,v 1.13 1999/07/14 01:20:25 momjian Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
#ifndef PARSE_COERCE_H #ifndef PARSE_COERCE_H
#define PARSE_COERCE_H #define PARSE_COERCE_H
#include "nodes/pg_list.h"
#include "parser/parse_node.h"
typedef enum CATEGORY typedef enum CATEGORY
{ {
INVALID_TYPE, INVALID_TYPE,
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
* *
* Copyright (c) 1994, Regents of the University of California * Copyright (c) 1994, Regents of the University of California
* *
* $Id: catcache.h,v 1.15 1999/06/04 02:19:44 tgl Exp $ * $Id: catcache.h,v 1.16 1999/07/14 01:20:26 momjian Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
...@@ -19,6 +19,7 @@ ...@@ -19,6 +19,7 @@
#include <lib/dllist.h> #include <lib/dllist.h>
#include <nodes/memnodes.h> #include <nodes/memnodes.h>
#include <utils/rel.h> #include <utils/rel.h>
#include <utils/mcxt.h>
/* /*
* struct catctup: tuples in the cache. * struct catctup: tuples in the cache.
......
...@@ -6,15 +6,13 @@ ...@@ -6,15 +6,13 @@
* *
* Copyright (c) 1994, Regents of the University of California * Copyright (c) 1994, Regents of the University of California
* *
* $Id: datetime.h,v 1.7 1999/02/13 23:22:16 momjian Exp $ * $Id: datetime.h,v 1.8 1999/07/14 01:20:29 momjian Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
#ifndef DATETIME_H #ifndef DATETIME_H
#define DATETIME_H #define DATETIME_H
#include "utils/dt.h"
typedef int32 DateADT; typedef int32 DateADT;
typedef float8 TimeADT; typedef float8 TimeADT;
......
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
* *
* Copyright (c) 1994, Regents of the University of California * Copyright (c) 1994, Regents of the University of California
* *
* $Id: memutils.h,v 1.28 1999/06/17 15:15:59 momjian Exp $ * $Id: memutils.h,v 1.29 1999/07/14 01:20:29 momjian Exp $
* *
* NOTES * NOTES
* some of the information in this file will be moved to * some of the information in this file will be moved to
...@@ -26,6 +26,11 @@ ...@@ -26,6 +26,11 @@
#ifndef MEMUTILS_H #ifndef MEMUTILS_H
#define MEMUTILS_H #define MEMUTILS_H
/*
* This is not needed by this include file, but by almost every file
* that includes this file.
*/
#include "utils/mcxt.h"
/* ---------------- /* ----------------
* Alignment macros: align a length or address appropriately for a given type. * Alignment macros: align a length or address appropriately for a given type.
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
* *
* 1998 Jan Wieck * 1998 Jan Wieck
* *
* $Header: /cvsroot/pgsql/src/include/utils/numeric.h,v 1.6 1999/05/25 22:43:37 momjian Exp $ * $Header: /cvsroot/pgsql/src/include/utils/numeric.h,v 1.7 1999/07/14 01:20:30 momjian Exp $
* *
* ---------- * ----------
*/ */
...@@ -13,9 +13,6 @@ ...@@ -13,9 +13,6 @@
#ifndef _PG_NUMERIC_H_ #ifndef _PG_NUMERIC_H_
#define _PG_NUMERIC_H_ #define _PG_NUMERIC_H_
#include "postgres.h"
/* ---------- /* ----------
* The hardcoded limits and defaults of the numeric data type * The hardcoded limits and defaults of the numeric data type
* ---------- * ----------
......
...@@ -6,15 +6,13 @@ ...@@ -6,15 +6,13 @@
* *
* Copyright (c) 1994, Regents of the University of California * Copyright (c) 1994, Regents of the University of California
* *
* $Id: palloc.h,v 1.9 1999/05/25 16:14:56 momjian Exp $ * $Id: palloc.h,v 1.10 1999/07/14 01:20:30 momjian Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
#ifndef PALLOC_H #ifndef PALLOC_H
#define PALLOC_H #define PALLOC_H
#include "c.h"
#ifdef PALLOC_IS_MALLOC #ifdef PALLOC_IS_MALLOC
#define palloc(s) malloc(s) #define palloc(s) malloc(s)
...@@ -27,8 +25,6 @@ ...@@ -27,8 +25,6 @@
* In the case we use memory contexts, use macro's for palloc() etc. * In the case we use memory contexts, use macro's for palloc() etc.
* ---------- * ----------
*/ */
#include "utils/mcxt.h"
#define palloc(s) ((void *)MemoryContextAlloc(CurrentMemoryContext,(Size)(s))) #define palloc(s) ((void *)MemoryContextAlloc(CurrentMemoryContext,(Size)(s)))
#define pfree(p) MemoryContextFree(CurrentMemoryContext,(Pointer)(p)) #define pfree(p) MemoryContextFree(CurrentMemoryContext,(Pointer)(p))
#define repalloc(p,s) ((void *)MemoryContextRealloc(CurrentMemoryContext,(Pointer)(p),(Size)(s))) #define repalloc(p,s) ((void *)MemoryContextRealloc(CurrentMemoryContext,(Pointer)(p),(Size)(s)))
......
...@@ -15,7 +15,6 @@ ...@@ -15,7 +15,6 @@
#include <stdio.h> #include <stdio.h>
#include <string.h> #include <string.h>
#include "utils/trace.h"
extern char *ps_status_buffer; extern char *ps_status_buffer;
......
...@@ -17,8 +17,6 @@ ...@@ -17,8 +17,6 @@
#include <time.h> #include <time.h>
#include <stdarg.h> #include <stdarg.h>
#include "postgres.h"
#ifdef ELOG_TIMESTAMPS #ifdef ELOG_TIMESTAMPS
char *tprintf_timestamp(void); char *tprintf_timestamp(void);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment