]> granicus.if.org Git - postgresql/commit
On further testing, PQping also needs an explicit check for AUTH_REQ.
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 27 Nov 2010 07:11:45 +0000 (02:11 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 27 Nov 2010 07:11:45 +0000 (02:11 -0500)
commit49cd8a3f810467632260f16c7779f19212c1d094
tree241b95c0e510fc9d4bf24fe2020d7723b4e957b6
parentdb96e1ccfcb8f3514eef931bea9435974ec7ad28
On further testing, PQping also needs an explicit check for AUTH_REQ.

The pg_fe_sendauth code might fail if it can't handle the authentication
request message type --- if so, ping should still say the server is up.
src/interfaces/libpq/fe-connect.c
src/interfaces/libpq/libpq-int.h