mirror of
https://github.com/postgres/postgres.git
synced 2025-07-27 12:41:57 +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:
@ -95,7 +95,7 @@ gettoken_query(QPRS_STATE * state, int4 *val, int4 *lenval, char **strval, uint1
|
||||
(*lenval)++;
|
||||
}
|
||||
else if (*(state->buf) == '%')
|
||||
*flag |= LVAR_SUBLEXEM;
|
||||
*flag |= LVAR_SUBLEXEME;
|
||||
else if (*(state->buf) == '@')
|
||||
*flag |= LVAR_INCASE;
|
||||
else if (*(state->buf) == '*')
|
||||
@ -412,7 +412,7 @@ infix(INFIX * in, bool first)
|
||||
op++;
|
||||
in->cur++;
|
||||
}
|
||||
if (in->curpol->flag & LVAR_SUBLEXEM)
|
||||
if (in->curpol->flag & LVAR_SUBLEXEME)
|
||||
{
|
||||
*(in->cur) = '%';
|
||||
in->cur++;
|
||||
|
Reference in New Issue
Block a user