pgsql: pg_createsubscriber: Improve error messages.

From: Amit Kapila <akapila(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: pg_createsubscriber: Improve error messages.
Date: 2025-04-04 05:44:24
Message-ID: E1u0Zqq-002a8c-1l@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

pg_createsubscriber: Improve error messages.

Consistently, an option name is used in the error messages where
applicable. Also, change the code to use pg_fatal() instead of a
combination of pg_log_error() and exit().

Author: vignesh C <vignesh21(at)gmail(dot)com>
Reviewed-by: Hayato Kuroda <kuroda(dot)hayato(at)fujitsu(dot)com>
Reviewed-by: Amit Kapila <amit(dot)kapila16(at)gmail(dot)com>
Discussion: https://postgr.es/m/CALDaNm0HxF1RH27LP7VisLzNsSJbssy8a64M5p6UduDaBq6-ag@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/898c131b58a0b62833e10f3556f993d0d385f941

Modified Files
--------------
src/bin/pg_basebackup/pg_createsubscriber.c | 26 ++++++----------------
src/bin/pg_basebackup/t/040_pg_createsubscriber.pl | 4 ++--
2 files changed, 9 insertions(+), 21 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Daniel Gustafsson 2025-04-04 07:50:38 pgsql: doc: Clarify the system value for sslrootcert
Previous Message Fujii Masao 2025-04-04 04:37:26 pgsql: Fix logical decoding test to correctly check slot removal on sta