Improve error reporting for few options in pg_createsubscriber - Mailing list pgsql-hackers

From vignesh C
Subject Improve error reporting for few options in pg_createsubscriber
Date
Msg-id CALDaNm0HxF1RH27LP7VisLzNsSJbssy8a64M5p6UduDaBq6-ag@mail.gmail.com
Whole thread Raw
Responses RE: Improve error reporting for few options in pg_createsubscriber
Re: Improve error reporting for few options in pg_createsubscriber
List pgsql-hackers
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

Attachment

pgsql-hackers by date:

Previous
From: Shubham Khanna
Date:
Subject: Re: Enhance 'pg_createsubscriber' to retrieve databases automatically when no database is provided.
Next
From: Melanie Plageman
Date:
Subject: Re: Parallel heap vacuum