Commit 4ad56110 authored by Peter Eisentraut's avatar Peter Eisentraut

Fix lack of message pluralization

parent 4f472600
......@@ -781,6 +781,9 @@ pg_promote(PG_FUNCTION_ARGS)
}
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);
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment