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

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: On further testing, PQping also needs an explicit check for AUTH
Дата
Msg-id E1PMExF-00024p-9b@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
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(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: Rewrite PQping to be more like what we agreed to last week.
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: A bit more wordsmithing on the PQping documentation.