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

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

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

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



More information about the pgpool-committers mailing list