diff options
author | Álvaro Herrera <alvherre@alvh.no-ip.org> | 2024-11-27 19:46:06 +0100 |
---|---|---|
committer | Álvaro Herrera <alvherre@alvh.no-ip.org> | 2024-11-27 19:49:36 +0100 |
commit | 6ba9892f5cb8c2f1c2592198d938cc8f5cf52edc (patch) | |
tree | 62859f3c7c5c7537cc1ecefd008ae56971ffffd3 /src/backend/replication | |
parent | fd9924542bccc488731361861903e3f9f3cf11fa (diff) |
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.
Diffstat (limited to 'src/backend/replication')
-rw-r--r-- | src/backend/replication/slot.c | 4 | ||||
-rw-r--r-- | src/backend/replication/syncrep.c | 3 |
2 files changed, 4 insertions, 3 deletions
diff --git a/src/backend/replication/slot.c b/src/backend/replication/slot.c index 6828100cf1a..9474d3dc74d 100644 --- a/src/backend/replication/slot.c +++ b/src/backend/replication/slot.c @@ -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; diff --git a/src/backend/replication/syncrep.c b/src/backend/replication/syncrep.c index fa5988c824e..c8931bac137 100644 --- a/src/backend/replication/syncrep.c +++ b/src/backend/replication/syncrep.c @@ -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; } |