Fix lack of message pluralization

This commit is contained in:
Peter Eisentraut 2021-07-14 09:15:14 +02:00
parent a8fd13cab0
commit 55b2a23407

View File

@ -180,8 +180,10 @@ pg_wait_until_termination(int pid, int64 timeout)
} while (remainingtime > 0);
ereport(WARNING,
(errmsg("backend with PID %d did not terminate within %lld milliseconds",
pid, (long long int) timeout)));
(errmsg_plural("backend with PID %d did not terminate within %lld millisecond",
"backend with PID %d did not terminate within %lld milliseconds",
timeout,
pid, (long long int) timeout)));
return false;
}