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.
Showing
- src/backend/libpq/auth.c 54 additions, 51 deletionssrc/backend/libpq/auth.c
- src/backend/utils/cache/lsyscache.c 2 additions, 2 deletionssrc/backend/utils/cache/lsyscache.c
- src/backend/utils/init/postinit.c 2 additions, 2 deletionssrc/backend/utils/init/postinit.c
- src/interfaces/libpq/fe-auth.c 2 additions, 2 deletionssrc/interfaces/libpq/fe-auth.c
- src/interfaces/libpq/fe-auth.h 2 additions, 2 deletionssrc/interfaces/libpq/fe-auth.h
- src/interfaces/libpq/fe-connect.c 2 additions, 4 deletionssrc/interfaces/libpq/fe-connect.c
- src/interfaces/libpq/fe-connect.h 2 additions, 2 deletionssrc/interfaces/libpq/fe-connect.h
Please register or sign in to comment