Dear Vignesh,
> 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.
Confirmed all error reporting in switch have its option name.
> 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.
I grepped source and confirmed that exit(1) just after pg_log_error()
does not exist anymore. Several lines have below style, but IIUC it is
out-of-scope of the patch.
pg_log_error();
pg_log_error_hint();
exit(1);
Best regards,
Hayato Kuroda
FUJITSU LIMITED