mirror of
https://github.com/postgres/postgres.git
synced 2025-06-11 20:28:21 +03:00
This patch makes the error message strings throughout the backend
more compliant with the error message style guide. In particular, errdetail should begin with a capital letter and end with a period, whereas errmsg should not. I also fixed a few related issues in passing, such as fixing the repeated misspelling of "lexeme" in contrib/tsearch2 (per Tom's suggestion).
This commit is contained in:
@ -144,7 +144,7 @@ g_int_compress(PG_FUNCTION_ARGS)
|
||||
PREPAREARR(r);
|
||||
|
||||
if (ARRNELEMS(r) >= 2 * MAXNUMRANGE)
|
||||
elog(NOTICE, "Input array is too big (%d maximum allowed, %d current), use gist__intbig_ops opclass instead",
|
||||
elog(NOTICE, "input array is too big (%d maximum allowed, %d current), use gist__intbig_ops opclass instead",
|
||||
2 * MAXNUMRANGE - 1, ARRNELEMS(r));
|
||||
|
||||
retval = palloc(sizeof(GISTENTRY));
|
||||
|
Reference in New Issue
Block a user