[pgpool-hackers: 4560] Fix per_node_error_log error message

Umar Hayat m.umarkiani at gmail.com
Mon Jan 20 14:48:34 JST 2025


Hi Hackers,
Logs printed through 'per_node_error_log' method, print like following:
"pool_send_and_wait: Error or notice message from backend: : DB node id: 0
backend"
(Mind 2 colons ": :" after 'backend')

Please see the attached patches.
1. It can be fixed either updating per_node_error_log method
implementation, approach 1
2. Or it can be fixed where we call per_node_error_log method, approach 2.

IMO approach 2 is more intuitive. Let me know what you think.

Regards
Umar Hayat
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.pgpool.net/pipermail/pgpool-hackers/attachments/20250120/164ea1d9/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix-per_node_error_log_approach_2.diff
Type: application/octet-stream
Size: 2050 bytes
Desc: not available
URL: <http://www.pgpool.net/pipermail/pgpool-hackers/attachments/20250120/164ea1d9/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix-per_node_error_log_approach_1.diff
Type: application/octet-stream
Size: 681 bytes
Desc: not available
URL: <http://www.pgpool.net/pipermail/pgpool-hackers/attachments/20250120/164ea1d9/attachment-0001.obj>


More information about the pgpool-hackers mailing list