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 <vignesh21@gmail.com> Reviewed-by: Hayato Kuroda <kuroda.hayato@fujitsu.com> Reviewed-by: Amit Kapila <amit.kapila16@gmail.com> Discussion: https://postgr.es/m/CALDaNm0HxF1RH27LP7VisLzNsSJbssy8a64M5p6UduDaBq6-ag@mail.gmail.com
Files
| Path | Change | +/− |
|---|---|---|
| src/bin/pg_basebackup/pg_createsubscriber.c | modified | +7 −19 |
| src/bin/pg_basebackup/t/040_pg_createsubscriber.pl | modified | +2 −2 |
Discussion
- Improve error reporting for few options in pg_createsubscriber 5 messages · 2025-03-22 → 2025-04-04