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
pull/104/head
John Naylor 3 years ago
parent 16492df70b
commit 7beda87b6a
  1. 2
      src/backend/postmaster/bgworker.c

@ -663,7 +663,7 @@ SanityCheckBackgroundWorker(BackgroundWorker *worker, int elevel)
{ {
ereport(elevel, ereport(elevel,
(errcode(ERRCODE_INVALID_PARAMETER_VALUE), (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))); worker->bgw_name)));
return false; return false;
} }

Loading…
Cancel
Save