1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-07 00:36:50 +03:00

Message style fixes

This commit is contained in:
Alvaro Herrera
2019-04-30 10:00:38 -04:00
parent 9a83afecb7
commit 9f8b717a80
6 changed files with 13 additions and 11 deletions

View File

@ -109,8 +109,8 @@ check_default_table_access_method(char **newval, void **extra, GucSource source)
if (strlen(*newval) >= NAMEDATALEN)
{
GUC_check_errdetail("default_table_access_method is too long (maximum %d characters).",
NAMEDATALEN - 1);
GUC_check_errdetail("%s is too long (maximum %d characters).",
"default_table_access_method", NAMEDATALEN - 1);
return false;
}
@ -131,7 +131,7 @@ check_default_table_access_method(char **newval, void **extra, GucSource source)
{
ereport(NOTICE,
(errcode(ERRCODE_UNDEFINED_OBJECT),
errmsg("Table access method \"%s\" does not exist",
errmsg("table access method \"%s\" does not exist",
*newval)));
}
else