mirror of
https://github.com/postgres/postgres.git
synced 2025-07-31 22:04:40 +03:00
Fix lack of message pluralization
This commit is contained in:
@ -781,6 +781,9 @@ pg_promote(PG_FUNCTION_ARGS)
|
|||||||
}
|
}
|
||||||
|
|
||||||
ereport(WARNING,
|
ereport(WARNING,
|
||||||
(errmsg("server did not promote within %d seconds", wait_seconds)));
|
(errmsg_plural("server did not promote within %d second",
|
||||||
|
"server did not promote within %d seconds",
|
||||||
|
wait_seconds,
|
||||||
|
wait_seconds)));
|
||||||
PG_RETURN_BOOL(false);
|
PG_RETURN_BOOL(false);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user