mirror of
https://github.com/postgres/postgres.git
synced 2025-07-26 01:22:12 +03:00
Make GUC_check_errdetail messages full sentences
They were all missing punctuation, one was missing initial capital. Per our message style guidelines. No backpatch, to avoid breaking existing translations.
This commit is contained in:
@ -2478,7 +2478,7 @@ validate_sync_standby_slots(char *rawname, List **elemlist)
|
||||
|
||||
if (!slot)
|
||||
{
|
||||
GUC_check_errdetail("replication slot \"%s\" does not exist",
|
||||
GUC_check_errdetail("Replication slot \"%s\" does not exist.",
|
||||
name);
|
||||
ok = false;
|
||||
break;
|
||||
@ -2486,7 +2486,7 @@ validate_sync_standby_slots(char *rawname, List **elemlist)
|
||||
|
||||
if (!SlotIsPhysical(slot))
|
||||
{
|
||||
GUC_check_errdetail("\"%s\" is not a physical replication slot",
|
||||
GUC_check_errdetail("\"%s\" is not a physical replication slot.",
|
||||
name);
|
||||
ok = false;
|
||||
break;
|
||||
|
@ -1010,7 +1010,8 @@ check_synchronous_standby_names(char **newval, void **extra, GucSource source)
|
||||
if (syncrep_parse_error_msg)
|
||||
GUC_check_errdetail("%s", syncrep_parse_error_msg);
|
||||
else
|
||||
GUC_check_errdetail("\"synchronous_standby_names\" parser failed");
|
||||
GUC_check_errdetail("\"%s\" parser failed.",
|
||||
"synchronous_standby_names");
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user