Re: Feature: add sync message logging to log_per_node_statement and notice_per_node_statement

From: Tatsuo Ishii <ishii(at)postgresql(dot)org>
To: pgpool-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: Feature: add sync message logging to log_per_node_statement and notice_per_node_statement
Date: 2025-12-17 02:24:53
Message-ID: 20251217.112453.100409863857130977.ishii@postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgpool-hackers

>> Currently pgpool does 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). So
>> I propose to add logging for a sync message for upcoming Pgpool-II
>> 4.8.
>>
>> Comments or suggestions are welcome.
>
> Patch attached.

Patch pushed to master branch.
Thanks.
--
Tatsuo Ishii
SRA OSS K.K.
English: http://www.sraoss.co.jp/index_en/
Japanese:http://www.sraoss.co.jp

In response to

Browse pgpool-hackers by date

  From Date Subject
Next Message Tatsuo Ishii 2025-12-17 04:12:50 Re: Refactor BackendFlagsShowFunc()
Previous Message Tatsuo Ishii 2025-12-15 00:18:51 Re: Feature: add sync message logging to log_per_node_statement and notice_per_node_statement