Add small detail to RAISE statement descripton

Igor Gnatyuk <ig953or@gmail.com>

From: Igor Gnatyuk <ig953or@gmail.com>
To: pgsql-docs@lists.postgresql.org
Date: 2024-05-14T15:09:11Z
Lists: pgsql-docs

Attachments

Hi,

There is a slight syntax inaccuracy in the description of the RAISE
statement - assignments of parameter values in USING.
(Chapter 43. PL/pgSQL — SQL Procedural Language / 43.9 Errors and
Messages / 43.9.1 Reporting Errors and Messages):

"...You can attach additional information to the error report by
writing USING followed by option = expression items..."
It should, apparently, be like this: "...option { = | := } expression..."

The patch corrects this little omission. Attached: fix_doc_raise.patch

Regards, Igor Gnatyuk

Commits

  1. Doc: improve description of plpgsql's RAISE command.