[pgpool-committers: 2497] pgpool: Fix for pgpool-II emits a fatal error message when clear text p

Muhammad Usama m.usama at gmail.com
Thu Mar 26 00:09:53 JST 2015


Fix for pgpool-II emits a fatal error message when clear text password auth is used.

The problem was introduced in pgpool-II after inclusion of exception manager.
EOF on the frontend connection during client authentication should not be treated
as an error when the password authentication method is used. psql disconnects
from the server in such case to get the password from the terminal,
reconnects and sends the read password to server.

The check-in also enhances the error messages for authentication failures
by concatenating backend errors to pgpool error report.

Branch
------
V3_4_STABLE

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

Modified Files
--------------
src/auth/pool_auth.c    |   39 +++++++++++++++++++++++++++++++++++++--
src/include/pool.h      |    2 ++
src/protocol/child.c    |   11 ++++++++++-
src/utils/pool_stream.c |    5 ++++-
4 files changed, 53 insertions(+), 4 deletions(-)



More information about the pgpool-committers mailing list