[pgpool-committers: 6649] pgpool: Allow to set application name parameter of log_line_prefix in m
Tatsuo Ishii
ishii at sraoss.co.jp
Tue Apr 7 14:18:18 JST 2020
Allow to set application name parameter of log_line_prefix in more cases.
%a in log_line_prefix was only be set if application_name is specified
in startup message. Now it is possible to set application_name if it
is set in the connection parameter or SET command.
Also set hard coded application_name in various internal process so
that admins can easily recognize each log line belonging to which
process.
Discussion: https://www.pgpool.net/pipermail/pgpool-hackers/2020-April/003572.html
Branch
------
master
Details
-------
https://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=d8434662d63c115280779941af61252663f9c134
Modified Files
--------------
doc.ja/src/sgml/connection-pooling.sgml | 91 ++++++++++++++++++++--
doc/src/sgml/connection-pooling.sgml | 87 ++++++++++++++++++++-
src/include/pool.h | 14 +++-
src/main/health_check.c | 3 +
src/main/pgpool_main.c | 81 +++++++++++++++++++
src/protocol/child.c | 5 +-
src/protocol/pool_process_query.c | 16 ++++
.../tests/010.rewrite_timestamp/timestamp/main.c | 6 ++
src/utils/error/elog.c | 10 +--
src/watchdog/watchdog.c | 3 +-
src/watchdog/wd_escalation.c | 4 +-
src/watchdog/wd_heartbeat.c | 4 +-
src/watchdog/wd_if.c | 3 +-
src/watchdog/wd_lifecheck.c | 3 +-
src/watchdog/wd_ping.c | 1 +
15 files changed, 309 insertions(+), 22 deletions(-)
More information about the pgpool-committers
mailing list