Add notice_per_node_statement.
authorTatsuo Ishii <ishii@sraoss.co.jp>
Tue, 7 Feb 2023 08:25:17 +0000 (17:25 +0900)
committerTatsuo Ishii <ishii@sraoss.co.jp>
Tue, 7 Feb 2023 10:24:43 +0000 (19:24 +0900)
commit85ce852329c0e9775076234cd4a82c20fa173659
tree9e2eddecadfd73fa1718d02ca35fc616ca445af6
parent3f4480e49d17e213f8a2b1baf229425190872129
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
doc.ja/src/sgml/connection-pooling.sgml
doc/src/sgml/connection-pooling.sgml
src/config/pool_config_variables.c
src/context/pool_query_context.c
src/include/pool_config.h
src/include/protocol/pool_proto_modules.h
src/protocol/pool_proto_modules.c
src/sample/pgpool.conf.sample-stream