Re: [HACKERS] Bogus cleanup code in GSSAPI/SSPI patch

2008-01-29 Thread Magnus Hagander
On Mon, Jan 28, 2008 at 09:11:31PM -0500, Tom Lane wrote: > Hi Magnus, > Would you take a look at the patch I just committed in fe-connect.c? > > I found out today that PQreset() wasn't working on a GSSAPI connection, > because closePGconn hadn't been patched to clear out the GSSAPI state > (res

[HACKERS] Bogus cleanup code in GSSAPI/SSPI patch

2008-01-28 Thread Tom Lane
Hi Magnus, Would you take a look at the patch I just committed in fe-connect.c? I found out today that PQreset() wasn't working on a GSSAPI connection, because closePGconn hadn't been patched to clear out the GSSAPI state (resulting in "duplicate GSS authentication request" failure). I think I