1
0
mirror of https://github.com/postgres/postgres.git synced 2025-09-03 15:22:11 +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:
Álvaro Herrera
2024-11-27 19:46:06 +01:00
parent fd9924542b
commit 6ba9892f5c
7 changed files with 13 additions and 11 deletions

View File

@@ -130,7 +130,8 @@ check_vacuum_buffer_usage_limit(int *newval, void **extra,
return true;
/* Value does not fall within any allowable range */
GUC_check_errdetail("\"vacuum_buffer_usage_limit\" must be 0 or between %d kB and %d kB",
GUC_check_errdetail("\"%s\" must be 0 or between %d kB and %d kB.",
"vacuum_buffer_usage_limit",
MIN_BAS_VAC_RING_SIZE_KB, MAX_BAS_VAC_RING_SIZE_KB);
return false;