Improve error reporting for few options in pg_createsubscriber

From: vignesh C <vignesh21(at)gmail(dot)com>
To: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Improve error reporting for few options in pg_createsubscriber
Date: 2025-03-22 13:56:14
Message-ID: CALDaNm0HxF1RH27LP7VisLzNsSJbssy8a64M5p6UduDaBq6-ag@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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 Content-Type Size
0001-Improve-error-reporting-consistency-in-pg_createsubs.patch text/x-patch 2.2 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Melanie Plageman 2025-03-22 14:16:06 Re: Parallel heap vacuum
Previous Message Shubham Khanna 2025-03-22 13:56:09 Re: Enhance 'pg_createsubscriber' to retrieve databases automatically when no database is provided.