summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohn Naylor <john.naylor@postgresql.org>2022-09-15 11:40:17 +0700
committerJohn Naylor <john.naylor@postgresql.org>2022-09-15 11:43:00 +0700
commiteed548822ca23d3a35dfda7f559b1b7e443ac056 (patch)
treedb0080dd30e1ced65fd29d1e1c24abcce9352823 /src
parentd068b4108c2e8eda9dbc9fffb7055334c62c4f6a (diff)
Fix grammar in error message
While at it, make ellipses formatting consistent when describing SQL statements. Ekaterina Kiryanova and Alexander Lakhin Reviewed by myself and Álvaro Herrera Discussion: https://www.postgresql.org/message-id/eed5cec0-a542-53da-6a5e-7789c6ed9817%40postgrespro.ru Backpatch only the grammar fix to v15
Diffstat (limited to 'src')
-rw-r--r--src/backend/postmaster/bgworker.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/postmaster/bgworker.c b/src/backend/postmaster/bgworker.c
index 40601aefd97..8dd7d64630c 100644
--- a/src/backend/postmaster/bgworker.c
+++ b/src/backend/postmaster/bgworker.c
@@ -663,7 +663,7 @@ SanityCheckBackgroundWorker(BackgroundWorker *worker, int elevel)
{
ereport(elevel,
(errcode(ERRCODE_INVALID_PARAMETER_VALUE),
- errmsg("background worker \"%s\": background worker without shared memory access are not supported",
+ errmsg("background worker \"%s\": background workers without shared memory access are not supported",
worker->bgw_name)));
return false;
}