Improve the connection failure error messages
Nisha Moond <nisha.moond412@gmail.com>
From: Nisha Moond <nisha.moond412@gmail.com>
To: pgsql-hackers@lists.postgresql.org
Cc: Nisha Moond <nisha.moond412@gmail.com>
Date: 2024-01-11T08:54:20Z
Lists: pgsql-hackers
Attachments
- v1-0001-Improve-the-connection-failure-error-messages.patch (application/octet-stream) patch v1-0001
Hi Hackers, Various sections of the code utilize the walrcv_connect() function, employed by various processes such as walreceiver, logical replication apply worker, etc., to establish connections with other hosts. Presently, in case of connection failures, the error message lacks information about the specific process attempting to connect and encountering the failure. The provided patch enhances error messages for such connection failures, offering more details on the processes that failed to establish a connection. -- Thanks, Nisha
Commits
-
Improve logical replication connection-failure messages.
- 0d8bd0a72ea2 18.0 landed
-
Fix a random failure in 038_save_logical_slots_shutdown.pl.
- 0b84f5c419a3 17.0 cited
-
Add a failover option to subscriptions.
- 776621a5e479 17.0 cited