Skip to content

Commit 55b2a23

Browse files
committed
Fix lack of message pluralization
1 parent a8fd13c commit 55b2a23

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/backend/storage/ipc/signalfuncs.c

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,8 +180,10 @@ pg_wait_until_termination(int pid, int64 timeout)
180180
} while (remainingtime > 0);
181181

182182
ereport(WARNING,
183-
(errmsg("backend with PID %d did not terminate within %lld milliseconds",
184-
pid, (long long int) timeout)));
183+
(errmsg_plural("backend with PID %d did not terminate within %lld millisecond",
184+
"backend with PID %d did not terminate within %lld milliseconds",
185+
timeout,
186+
pid, (long long int) timeout)));
185187

186188
return false;
187189
}

0 commit comments

Comments
 (0)