]> git.ipfire.org Git - thirdparty/postgresql.git/commitdiff
Fix grammar in error message
authorJohn Naylor <john.naylor@postgresql.org>
Thu, 15 Sep 2022 04:40:17 +0000 (11:40 +0700)
committerJohn Naylor <john.naylor@postgresql.org>
Thu, 15 Sep 2022 04:43:00 +0000 (11:43 +0700)
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

src/backend/postmaster/bgworker.c

index 40601aefd974e4955dded8f2c929286b98145cca..8dd7d64630c4866a8738f184a9394f82980af7b2 100644 (file)
@@ -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;
        }