1
0
mirror of https://github.com/postgres/postgres.git synced 2025-11-09 06:21:09 +03:00

Message style improvements

This commit is contained in:
Peter Eisentraut
2016-07-28 16:18:35 -04:00
parent 9492cf86e4
commit ef5d4a3cfa
9 changed files with 61 additions and 58 deletions

View File

@@ -1645,9 +1645,12 @@ CheckPointTwoPhase(XLogRecPtr redo_horizon)
if (log_checkpoints && serialized_xacts > 0)
ereport(LOG,
(errmsg("%u two-phase state files were written "
"for long-running prepared transactions",
serialized_xacts)));
(errmsg_plural("%u two-phase state file was written "
"for long-running prepared transactions",
"%u two-phase state files were written "
"for long-running prepared transactions",
serialized_xacts,
serialized_xacts)));
}
/*