pg_createsubscriber: Improve error messages.
authorAmit Kapila <[email protected]>
Fri, 4 Apr 2025 05:28:59 +0000 (10:58 +0530)
committerAmit Kapila <[email protected]>
Fri, 4 Apr 2025 05:28:59 +0000 (10:58 +0530)
commit898c131b58a0b62833e10f3556f993d0d385f941
tree63d02244a06771caba3b5e5c89b41bc5c29b3b7e
parentd5d85f1881615f8fb9ee9ecfed4d77f550ec1c75
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 <[email protected]>
Reviewed-by: Hayato Kuroda <[email protected]>
Reviewed-by: Amit Kapila <[email protected]>
Discussion: https://postgr.es/m/CALDaNm0HxF1RH27LP7VisLzNsSJbssy8a64M5p6UduDaBq6-ag@mail.gmail.com
src/bin/pg_basebackup/pg_createsubscriber.c
src/bin/pg_basebackup/t/040_pg_createsubscriber.pl