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

Tatsuo Ishii ishii at sraoss.co.jp
Tue Mar 16 15:24:11 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
------
V3_6_STABLE

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

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



More information about the pgpool-committers mailing list