1
0
mirror of https://github.com/postgres/postgres.git synced 2025-09-02 04:21:28 +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

View File

@@ -2190,12 +2190,12 @@ ProcessTwoPhaseBuffer(TransactionId xid,
if (fromdisk)
ereport(ERROR,
(errcode(ERRCODE_DATA_CORRUPTED),
errmsg("corrupted two-phase state file for transaction \"%u\"",
errmsg("corrupted two-phase state file for transaction %u",
xid)));
else
ereport(ERROR,
(errcode(ERRCODE_DATA_CORRUPTED),
errmsg("corrupted two-phase state in memory for transaction \"%u\"",
errmsg("corrupted two-phase state in memory for transaction %u",
xid)));
}