Add small detail to RAISE statement descripton

From: Igor Gnatyuk <ig953or(at)gmail(dot)com>
To: pgsql-docs(at)lists(dot)postgresql(dot)org
Subject: Add small detail to RAISE statement descripton
Date: 2024-05-14 15:09:11
Message-ID: CAEu6iLvhF5sdGeat2x4_L0FvWW_SiN--ma8ya7CZd-oJoV+yqQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

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

Attachment Content-Type Size
fix_doc_raise.patch text/x-patch 3.8 KB

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message Robert Haas 2024-05-14 18:46:01 Re: Add minimal C example and SQL registration example for custom table access methods.
Previous Message Peter Eisentraut 2024-05-14 07:38:07 Re: Explanations not clear