diff options
author | Marc G. Fournier <scrappy@hub.org> | 1996-11-06 10:32:10 +0000 |
---|---|---|
committer | Marc G. Fournier <scrappy@hub.org> | 1996-11-06 10:32:10 +0000 |
commit | 0020e8790da4ead45c1e34fcf738d4a1a1f02735 (patch) | |
tree | 2bfd47d06f31cb4b7b2167cafb3bf6702417a4d9 /src/backend/utils/cache | |
parent | 1d0dd471fa129cb795f08e5189f5db335aacabbb (diff) | |
download | postgresql-0020e8790da4ead45c1e34fcf738d4a1a1f02735.tar.gz postgresql-0020e8790da4ead45c1e34fcf738d4a1a1f02735.zip |
Another directory that compiles with no errors, and few warnings
Diffstat (limited to 'src/backend/utils/cache')
-rw-r--r-- | src/backend/utils/cache/Makefile | 5 | ||||
-rw-r--r-- | src/backend/utils/cache/fcache.c | 12 | ||||
-rw-r--r-- | src/backend/utils/cache/inval.c | 6 | ||||
-rw-r--r-- | src/backend/utils/cache/relcache.c | 9 | ||||
-rw-r--r-- | src/backend/utils/cache/syscache.c | 10 |
5 files changed, 27 insertions, 15 deletions
diff --git a/src/backend/utils/cache/Makefile b/src/backend/utils/cache/Makefile index e6dfb24841f..f7f15c59f97 100644 --- a/src/backend/utils/cache/Makefile +++ b/src/backend/utils/cache/Makefile @@ -4,14 +4,15 @@ # Makefile for utils/cache # # IDENTIFICATION -# $Header: /cvsroot/pgsql/src/backend/utils/cache/Makefile,v 1.2 1996/11/03 06:53:14 scrappy Exp $ +# $Header: /cvsroot/pgsql/src/backend/utils/cache/Makefile,v 1.3 1996/11/06 10:31:16 scrappy Exp $ # #------------------------------------------------------------------------- SRCDIR = ../../.. include ../../../Makefile.global -INCLUDE_OPT = -I../../port/$(PORTNAME) \ +INCLUDE_OPT = -I../.. \ + -I../../port/$(PORTNAME) \ -I../../../include CFLAGS+=$(INCLUDE_OPT) diff --git a/src/backend/utils/cache/fcache.c b/src/backend/utils/cache/fcache.c index 2f2b76bf276..f4c5ef3e907 100644 --- a/src/backend/utils/cache/fcache.c +++ b/src/backend/utils/cache/fcache.c @@ -7,11 +7,15 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/utils/cache/Attic/fcache.c,v 1.2 1996/11/03 06:53:17 scrappy Exp $ + * $Header: /cvsroot/pgsql/src/backend/utils/cache/Attic/fcache.c,v 1.3 1996/11/06 10:31:22 scrappy Exp $ * *------------------------------------------------------------------------- */ #include "postgres.h" + +#include <nodes/parsenodes.h> +#include <fmgr.h> + #include "access/htup.h" #include "utils/catcache.h" #include "utils/syscache.h" @@ -22,9 +26,13 @@ #include "parser/parsetree.h" /* for getrelname() */ #include "utils/builtins.h" #include "utils/fcache.h" -#include "utils/palloc.h" #include "nodes/primnodes.h" #include "nodes/execnodes.h" +#ifndef HAVE_MEMMOVE +# include <regex/utils.h> +#else +# include <string.h> +#endif static Oid GetDynamicFuncArgType(Var *arg, ExprContext *econtext); static FunctionCachePtr init_fcache(Oid foid, diff --git a/src/backend/utils/cache/inval.c b/src/backend/utils/cache/inval.c index 7bd214d085b..39c7e238e3c 100644 --- a/src/backend/utils/cache/inval.c +++ b/src/backend/utils/cache/inval.c @@ -7,13 +7,16 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/utils/cache/inval.c,v 1.1.1.1 1996/07/09 06:22:06 scrappy Exp $ + * $Header: /cvsroot/pgsql/src/backend/utils/cache/inval.c,v 1.2 1996/11/06 10:31:24 scrappy Exp $ * * Note - this code is real crufty... * *------------------------------------------------------------------------- */ #include "postgres.h" + +#include <miscadmin.h> + #include "access/heapam.h" /* XXX to support hacks below */ #include "access/htup.h" #include "catalog/catalog.h" @@ -23,7 +26,6 @@ #include "storage/sinval.h" #include "utils/catcache.h" #include "utils/inval.h" -#include "utils/elog.h" #include "utils/rel.h" #include "utils/relcache.h" #include "catalog/catname.h" /* XXX to support hacks below */ diff --git a/src/backend/utils/cache/relcache.c b/src/backend/utils/cache/relcache.c index 81d9ca59898..b72cc02cf50 100644 --- a/src/backend/utils/cache/relcache.c +++ b/src/backend/utils/cache/relcache.c @@ -7,7 +7,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/utils/cache/relcache.c,v 1.3 1996/10/24 07:55:29 scrappy Exp $ + * $Header: /cvsroot/pgsql/src/backend/utils/cache/relcache.c,v 1.4 1996/11/06 10:31:27 scrappy Exp $ * *------------------------------------------------------------------------- */ @@ -37,7 +37,8 @@ #include "postgres.h" #include "miscadmin.h" -#include "access/attnum.h" +#include <storage/smgr.h> + #include "access/genam.h" #include "access/heapam.h" #include "access/htup.h" @@ -45,7 +46,6 @@ #include "access/itup.h" #include "access/skey.h" #include "utils/builtins.h" -#include "utils/tqual.h" /* for NowTimeQual */ #include "access/tupdesc.h" #include "access/tupmacs.h" #include "access/xact.h" @@ -54,17 +54,14 @@ #include "storage/fd.h" /* for SEEK_ */ #include "storage/lmgr.h" #include "storage/bufmgr.h" - #include "lib/hasht.h" #include "utils/memutils.h" -#include "utils/elog.h" #include "utils/mcxt.h" #include "utils/rel.h" #include "utils/relcache.h" #include "utils/hsearch.h" -#include "utils/palloc.h" #include "utils/relcache.h" #include "catalog/catname.h" diff --git a/src/backend/utils/cache/syscache.c b/src/backend/utils/cache/syscache.c index c4dc5ac8eb9..460e8d40af0 100644 --- a/src/backend/utils/cache/syscache.c +++ b/src/backend/utils/cache/syscache.c @@ -7,7 +7,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/utils/cache/syscache.c,v 1.3 1996/11/03 06:53:19 scrappy Exp $ + * $Header: /cvsroot/pgsql/src/backend/utils/cache/syscache.c,v 1.4 1996/11/06 10:31:29 scrappy Exp $ * * NOTES * These routines allow the parser/planner/executor to perform @@ -23,8 +23,12 @@ #include "access/htup.h" #include "catalog/catname.h" #include "utils/catcache.h" -#include "utils/palloc.h" -#include "nodes/pg_list.h" +#ifndef HAVE_MEMMOVE +# include <regex/utils.h> +#else +# include <string.h> +#endif + /* ---------------- * hardwired attribute information comes from system catalog files. |