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/storage/file/fd.c | |
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/storage/file/fd.c')
-rw-r--r-- | src/backend/storage/file/fd.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/backend/storage/file/fd.c b/src/backend/storage/file/fd.c index 42bf857e873..7c403fb360e 100644 --- a/src/backend/storage/file/fd.c +++ b/src/backend/storage/file/fd.c @@ -3985,7 +3985,7 @@ check_debug_io_direct(char **newval, void **extra, GucSource source) if (!SplitGUCList(rawstring, ',', &elemlist)) { - GUC_check_errdetail("Invalid list syntax in parameter \"%s\"", + GUC_check_errdetail("Invalid list syntax in parameter \"%s\".", "debug_io_direct"); pfree(rawstring); list_free(elemlist); @@ -4005,7 +4005,7 @@ check_debug_io_direct(char **newval, void **extra, GucSource source) flags |= IO_DIRECT_WAL_INIT; else { - GUC_check_errdetail("Invalid option \"%s\"", item); + GUC_check_errdetail("Invalid option \"%s\".", item); result = false; break; } @@ -4018,7 +4018,7 @@ check_debug_io_direct(char **newval, void **extra, GucSource source) #if XLOG_BLCKSZ < PG_IO_ALIGN_SIZE if (result && (flags & (IO_DIRECT_WAL | IO_DIRECT_WAL_INIT))) { - GUC_check_errdetail("\"%s\" is not supported for WAL because %s is too small", + GUC_check_errdetail("\"%s\" is not supported for WAL because %s is too small.", "debug_io_direct", "XLOG_BLCKSZ"); result = false; } @@ -4026,7 +4026,7 @@ check_debug_io_direct(char **newval, void **extra, GucSource source) #if BLCKSZ < PG_IO_ALIGN_SIZE if (result && (flags & IO_DIRECT_DATA)) { - GUC_check_errdetail("\"%s\" is not supported for WAL because %s is too small", + GUC_check_errdetail("\"%s\" is not supported for WAL because %s is too small.", "debug_io_direct", "BLCKSZ"); result = false; } |