[pgpool-committers: 3420] pgpool: Make authentication error message more user friendly.

Tatsuo Ishii ishii at postgresql.org
Wed Aug 24 12:11:37 JST 2016


Make authentication error message more user friendly.

When attempt to connect to backend (including health checking),
currently we emit something like:

"failed to authenticate"
"invalid authentication message response type, Expecting 'R' and received '%c'"

This is too cryptic for users. So emit the error message returned from
backend (for example, "sorry, too many clients already" instead of
this. By this, user could have cleaner idea on what's going on.

Since this is not a bug fix, committed in master branch only for now.

Branch
------
master

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

Modified Files
--------------
src/protocol/child.c | 21 ++++++++++++++++++---
1 file changed, 18 insertions(+), 3 deletions(-)



More information about the pgpool-committers mailing list