Skip to content

Commit 4ad5611

Browse files
committed
Fix lack of message pluralization
1 parent 4f47260 commit 4ad5611

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/backend/access/transam/xlogfuncs.c

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -781,6 +781,9 @@ pg_promote(PG_FUNCTION_ARGS)
781781
}
782782

783783
ereport(WARNING,
784-
(errmsg("server did not promote within %d seconds", wait_seconds)));
784+
(errmsg_plural("server did not promote within %d second",
785+
"server did not promote within %d seconds",
786+
wait_seconds,
787+
wait_seconds)));
785788
PG_RETURN_BOOL(false);
786789
}

0 commit comments

Comments
 (0)