[pgpool-committers: 2401] pgpool: Fixing the behavior of "client_min_messages" configuration para

Muhammad Usama m.usama at gmail.com
Mon Jan 26 23:56:31 JST 2015


Fixing the behavior of "client_min_messages" configuration parameter.
This parameter controls the minimum message levels to be sent to the frontend.
The problem was, Regardless of the value of the parameter all the messages with
severity less than NOTICE level were not being forwarded to the client, reason
was an invalid check in elog.c send_message_to_frontend() function.
And secondly, the commit fixes a mistake in documentation regarding the valid
values for this parameter. Severity levels PANIC and FATAL are always sent to
the frontend and these two values are not valid configurations for the
"client_min_messages", so removing the PANIC and FATAL as valid values from the
documentation of client_min_messages.

Branch
------
master

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

Modified Files
--------------
doc/pgpool-en.html      |    4 +--
src/include/pool.h      |    9 +++++++
src/main/pgpool_main.c  |   18 ++++++++++++++
src/pcp_con/pcp_child.c |   11 +++++++--
src/protocol/child.c    |   63 ++++++++++++++++++++++++++++++++++++-----------
src/utils/error/elog.c  |   54 +++++++++++++++++-----------------------
6 files changed, 110 insertions(+), 49 deletions(-)



More information about the pgpool-committers mailing list