[pgpool-committers: 2498] 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
------
master

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

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