From: PG Doc comments form <noreply@postgresql.org>
To: pgsql-docs@lists.postgresql.org
Cc: philipp.salvisberg@gmail.com
Subject: Undocumented := alternative in using option of raise statement
Date: Mon, 22 Jul 2024 08:00:26 +0000
Message-ID: <172163522625.709.14011263605748671820@wrigleys.postgresql.org> (raw)
The following documentation comment has been logged on the website:
Page: https://www.postgresql.org/docs/16/plpgsql-errors-and-messages.html
Description:
The using option is documented as follows for all variants of the raise
statement:
USING option = expression [, ... ]
However, since "do $$ begin raise notice using message := 'foo'; end $$;"
works and the alternative to "=" is documented in
https://www.postgresql.org/docs/current/plpgsql-statements.html#PLPGSQL-STATEMENTS-ASSIGNMENT
I suggest to change the grammar to
USING option { := | = } expression [, ... ]
for the raise statement.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-docs@postgresql.org
Cc: noreply@postgresql.org, pgsql-docs@lists.postgresql.org, philipp.salvisberg@gmail.com
Subject: Re: Undocumented := alternative in using option of raise statement
In-Reply-To: <172163522625.709.14011263605748671820@wrigleys.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox