pgpool: Feature: add sync message logging to log_per_node_statement and

From: Tatsuo Ishii <ishii(at)postgresql(dot)org>
To: pgpool-committers(at)lists(dot)postgresql(dot)org
Subject: pgpool: Feature: add sync message logging to log_per_node_statement and
Date: 2025-12-17 02:24:09
Message-ID: E1vVhCz-00359Q-1N@gothos.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgpool-committers

Feature: add sync message logging to log_per_node_statement and notice_per_node_statement

Previously pgpool did not emit logs for a "sync" message when
log_per_node_statement/notice_per_node_statement enabled. Although
"sync" is not a query statement, I think a sync message plays
important role in extended query protocol since it indicates the
completion of series of extended query protocol messages, and logging
a sync message is important in a trouble shooting (I myself often
enable debug message just to know whether a sync message is sent to
backend or not, but enabling debug message creates lots of noise).

This commit enable logging for a sync message to
log_per_node_statement and notice_per_node_statement.

Branch
------
master

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

Modified Files
--------------
src/protocol/pool_process_query.c | 8 ++++++++
1 file changed, 8 insertions(+)

Browse pgpool-committers by date

  From Date Subject
Next Message Tatsuo Ishii 2025-12-17 04:12:25 pgpool: Refactor BackendFlagsShowFunc().
Previous Message Taiki Koshino 2025-12-15 08:23:28 pgpool: Add 4.7 release note in Japanese and modify 4.7 release date.