From 8e789e8ef16968bc04a6c1bf57a6a9cd4ed945b3 Mon Sep 17 00:00:00 2001 From: "Marc G. Fournier" Date: Thu, 29 Jan 1998 03:24:36 +0000 Subject: From: Phil Thompson Attached is the patch to fix the warning messages from my code. I also fixed one which wasn't my code. Apart from the usual warnings about the bison/yacc generated code I only have one other warning message. This is in gramm.y around line 2234. I wasn't sure of the fix. I've also replaced all the calls to free() in gramm.y to calls to pfree(). Without these I was getting backend crashes with GRANT. This might already have been fixed. --- src/backend/utils/init/postinit.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/backend/utils/init/postinit.c') diff --git a/src/backend/utils/init/postinit.c b/src/backend/utils/init/postinit.c index 7a7e071946..e3ec4131be 100644 --- a/src/backend/utils/init/postinit.c +++ b/src/backend/utils/init/postinit.c @@ -7,7 +7,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/utils/init/postinit.c,v 1.21 1997/12/20 00:10:47 scrappy Exp $ + * $Header: /cvsroot/pgsql/src/backend/utils/init/postinit.c,v 1.22 1998/01/29 03:23:28 scrappy Exp $ * * NOTES * InitPostgres() is the function called from PostgresMain @@ -66,7 +66,7 @@ #include "catalog/catname.h" #include "catalog/pg_database.h" -#include "libpq/libpq-be.h" +#include "libpq/libpq.h" static void VerifySystemDatabase(void); static void VerifyMyDatabase(void); -- cgit v1.2.1