[pgpool-committers: 7561] pgpool: Enhance debug message upon receiving startup packet.

Tatsuo Ishii ishii at sraoss.co.jp
Tue Mar 16 15:24:41 JST 2021


Enhance debug message upon receiving startup packet.

While processing a startup packet, database name, user name and
application name are printed in DEBUG1, but other guc variables (if
any) were not printed. This is not helpful when studying errors like
"connection exists but startup packet length is not identical" problem
(see https://www.pgpool.net/mantisbt/view.php?id=696). With this
commit guc variables are now printed something like:

2021-03-16 10:21:32: child pid 5155: DEBUG:  reading startup packet
2021-03-16 10:21:32: child pid 5155: DETAIL:  guc name: client_encoding value: UTF8

Branch
------
master

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

Modified Files
--------------
src/protocol/child.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)



More information about the pgpool-committers mailing list