]> granicus.if.org Git - postgresql/commit
Fix up closePGconn() so that PQreset() will work on GSSAPI/SSPI connections;
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 29 Jan 2008 02:06:30 +0000 (02:06 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 29 Jan 2008 02:06:30 +0000 (02:06 +0000)
commit5037ed834db8c029c0136549be52d583904c1abf
treee58c2ab10e392f061175cfd7a9a4fc1c526ef2e0
parentfad2b995236baf47576a1518672ef58fd3c1cbc6
Fix up closePGconn() so that PQreset() will work on GSSAPI/SSPI connections;
the patch for those features put its cleanup code into freePGconn() which is
really the wrong place.  Remove redundant code from freePGconn() and add
comments in hopes of preventing similar mistakes in future.
Noticed while trying (futilely) to reproduce bug #3902.
src/interfaces/libpq/fe-connect.c