Thread: pgsql: On further testing, PQping also needs an explicit check for AUTH

pgsql: On further testing, PQping also needs an explicit check for AUTH

From
Tom Lane
Date:
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.

Branch
------
master

Details
-------
http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=49cd8a3f810467632260f16c7779f19212c1d094

Modified Files
--------------
src/interfaces/libpq/fe-connect.c |   16 +++++++++++++---
src/interfaces/libpq/libpq-int.h  |    1 +
2 files changed, 14 insertions(+), 3 deletions(-)