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)
commit70f50ac9770e2bb4bf016fd30fe37d0d09136fc8
tree2240a4b35ca19388e825af7bf7af448bcdca1531
parentf9036a445e4334047fb7bee08eda0357f24de805
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