[pgpool-committers: 9180] pgpool: Add notice_per_node_statement.

Tatsuo Ishii ishii at sraoss.co.jp
Tue Feb 7 19:44:28 JST 2023


Add notice_per_node_statement.

The new GUC variable allows to emit NOTICE message of queries per
backend basis.  It's similar to log_per_node_statement but as the log
level is NOTICE, the log is printed on client's terminal, thus users
can know where their queries go to without looking into pgpool log
files.

Also this is useful to create expected/results style test cases.

Discussion: https://www.pgpool.net/pipermail/pgpool-hackers/2023-February/004276.html

Branch
------
master

Details
-------
https://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=85ce852329c0e9775076234cd4a82c20fa173659

Modified Files
--------------
doc.ja/src/sgml/connection-pooling.sgml   | 49 ++++++++++++++++++++++++++++++-
doc/src/sgml/connection-pooling.sgml      | 31 +++++++++++++++++++
src/config/pool_config_variables.c        | 10 +++++++
src/context/pool_query_context.c          |  2 ++
src/include/pool_config.h                 |  4 ++-
src/include/protocol/pool_proto_modules.h |  4 ++-
src/protocol/pool_proto_modules.c         | 13 +++++++-
src/sample/pgpool.conf.sample-stream      |  2 ++
8 files changed, 111 insertions(+), 4 deletions(-)



More information about the pgpool-committers mailing list