1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-02 09:02:37 +03:00
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.
This commit is contained in:
Marc G. Fournier
1998-01-29 03:24:36 +00:00
parent 2780576e36
commit 8e789e8ef1
7 changed files with 70 additions and 69 deletions

View File

@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/cache/lsyscache.c,v 1.10 1998/01/20 05:04:32 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/cache/lsyscache.c,v 1.11 1998/01/29 03:23:09 scrappy Exp $
*
* NOTES
* Eventually, the index information should go through here, too.
@ -173,7 +173,7 @@ get_atttypmod(Oid relid, AttrNumber attnum)
0, 0))
return att_tup.atttypmod;
else
return NULL;
return -1;
}
/* ---------- INDEX CACHE ---------- */