postgres.git / summary / log / commit / refs

commit    eed548822ca23d3a35dfda7f559b1b7e443ac056
Author:   John Naylor <john.naylor@postgresql.org>
Date:     Thu Sep 15 04:40:17 2022 +0000
First released in: 16.0, 15.0

    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


src/backend/postmaster/bgworker.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } [parent: d068b4108c2e]