Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 4ad5611

Browse filesBrowse files
committed
Fix lack of message pluralization
1 parent 4f47260 commit 4ad5611
Copy full SHA for 4ad5611

File tree

Expand file treeCollapse file tree

1 file changed

+4
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+4
-1
lines changed

‎src/backend/access/transam/xlogfuncs.c

Copy file name to clipboardExpand all lines: src/backend/access/transam/xlogfuncs.c
+4-1Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.