From: Phil Thompson <phil@river-bank.demon.co.uk>
Marc G. Fournier <scrappy@hub.org>
From: Phil Thompson <phil@river-bank.demon.co.uk> 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.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/libpq/auth.c | modified | +54 −51 |
| src/backend/utils/cache/lsyscache.c | modified | +2 −2 |
| src/backend/utils/init/postinit.c | modified | +2 −2 |
| src/interfaces/libpq/fe-auth.c | modified | +2 −2 |
| src/interfaces/libpq/fe-auth.h | modified | +2 −2 |
| src/interfaces/libpq/fe-connect.c | modified | +2 −4 |
| src/interfaces/libpq/fe-connect.h | modified | +2 −2 |