pgsql: pg_createsubscriber: Improve error messages.
pgsql: pg_createsubscriber: Improve error messages.
От:
Amit Kapila <akapila@postgresql.org>
Дата:
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 Reviewed-by: Hayato Kuroda Reviewed-by: Amit Kapila 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(-)