From: | PG Doc comments form <noreply(at)postgresql(dot)org> |
---|---|
To: | pgsql-docs(at)lists(dot)postgresql(dot)org |
Cc: | eric(dot)mutta(at)gmail(dot)com |
Subject: | Typo in "43.9.1. Reporting Errors and Messages"? |
Date: | 2022-07-31 23:37:03 |
Message-ID: | 165931062346.271448.12881330344096283605@wrigleys.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-docs pgsql-hackers |
The following documentation comment has been logged on the website:
Page: https://www.postgresql.org/docs/14/plpgsql-errors-and-messages.html
Description:
Towards the end of the "43.9.1. Reporting Errors and Messages" section (here
https://www.postgresql.org/docs/current/plpgsql-errors-and-messages.html#PLPGSQL-STATEMENTS-RAISE)
we have the following sentence:
> If no condition name nor SQLSTATE is specified in a RAISE EXCEPTION
command, the default is to use ERRCODE_RAISE_EXCEPTION (P0001).
Looking at the list of error codes (here
https://www.postgresql.org/docs/current/errcodes-appendix.html) I think the
"ERRCODE_RAISE_EXCEPTION (P0001)" is a typo and should remove "ERRCODE_" and
simply read "RAISE_EXCEPTION (P0001)" or perhaps "ERRCODE =
'RAISE_EXCEPTION'" since that's how the default behaviour would be written
in a RAISE statement.
Many thanks,
Eric Mutta.
From | Date | Subject | |
---|---|---|---|
Next Message | Ekaterina Kiryanova | 2022-08-01 20:00:20 | PostgreSQL 15 minor fixes in protocol.sgml |
Previous Message | PG Doc comments form | 2022-07-27 07:39:06 | Dependency Tracking to be updated with PostgreSQL 14 functions on dependencies improvement. |
From | Date | Subject | |
---|---|---|---|
Next Message | Michael Paquier | 2022-07-31 23:39:10 | Re: pg_upgrade errno |
Previous Message | Andres Freund | 2022-07-31 23:27:37 | Re: ci: update to freebsd 13.1 / remove minor versions from image names |