]> granicus.if.org Git - postgresql/commit
Add positive defense against trying to connect when the connection
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 13 Feb 2006 22:33:57 +0000 (22:33 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 13 Feb 2006 22:33:57 +0000 (22:33 +0000)
commit2fc80b9ae6000ccf9223812b9149375abf0ee579
tree9a211ef4a192d931a4672cbcc483ec4a730c10c3
parent1cf13e6f3645261af7731ab308129154f6f65b62
Add positive defense against trying to connect when the connection
option state hasn't been fully set up.  This is possible via PQreset()
and might occur in other code paths too, so a state flag seems the
most robust solution.  Per report from Arturs Zoldners.
src/interfaces/libpq/fe-connect.c
src/interfaces/libpq/libpq-int.h