Improve error reporting for few options in pg_createsubscriber
vignesh C <vignesh21@gmail.com>
From: vignesh C <vignesh21@gmail.com>
To: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2025-03-22T13:56:14Z
Lists: pgsql-hackers
Attachments
- 0001-Improve-error-reporting-consistency-in-pg_createsubs.patch (text/x-patch) patch 0001
Hi, Currently, error reports for database, publication, subscription, and replication slots do not include the option name. This has been addressed by including the option name in the error messages, ensuring consistency similar to remove option. Additionally, pg_log_error and exit(1) have been replaced with a single pg_fatal statement which means the same. The attached patch implements these changes. Regards, Vignesh
Commits
-
pg_createsubscriber: Improve error messages.
- 898c131b58a0 18.0 landed