Add new log_client_messages directive.
authorTatsuo Ishii <ishii@postgresql.org>
Fri, 27 Jul 2018 08:35:41 +0000 (17:35 +0900)
committerTatsuo Ishii <ishii@postgresql.org>
Fri, 27 Jul 2018 08:41:13 +0000 (17:41 +0900)
commit54503f4c87f1853ec1e71e65331adddc05531312
treea176769b0a78f1f4888cc9630d40da2011758f59
parentae8dad50cd9f7f7434d03be967795f0899378da9
Add new log_client_messages directive.

This allows to log messages from frontend.

Note that the regression test for this (019.log_client_messages)
requires pgproto command.  We will eventually import pgproto in the
future but for now we just check the existence of pgproto in
019.log_client_messages/test.sh. If pgproto does not exist in the
command search pass, just skip the test with "ok" status.

Patch contributed by Takuma Hoshiai.
13 files changed:
doc.ja/src/sgml/connection-pooling.sgml
doc/src/sgml/connection-pooling.sgml
src/config/pool_config_variables.c
src/include/pool_config.h
src/protocol/child.c
src/protocol/pool_proto_modules.c
src/sample/pgpool.conf.sample
src/sample/pgpool.conf.sample-logical
src/sample/pgpool.conf.sample-master-slave
src/sample/pgpool.conf.sample-replication
src/sample/pgpool.conf.sample-stream
src/test/regression/tests/019.log_client_messages/test.sh [new file with mode: 0755]
src/utils/pool_process_reporting.c