public inbox for [email protected]
help / color / mirror / Atom feedFrom: Peter Eisentraut <[email protected]>
To: pgsql-docs <[email protected]>
Subject: error codes table
Date: Fri, 20 May 2011 00:04:29 +0300
Message-ID: <[email protected]> (raw)
Ref: http://developer.postgresql.org/pgdocs/postgres/errcodes-appendix.html
It seems to me that the second and the third column in that table are
redundant. The third is just the second with underscores and lower-case
letters. I find this pretty confusing, first because of the sheer
(apparent) volume of information, and second because one might be led to
believe that there is a difference between the columns hidden somewhere.
I suppose at one point it was the intent that the second column contain
a human-readable explanation, but that hasn't been realized.
Also, the sentence above the table "The PL/pgSQL condition name for each
error code is the same as the phrase shown in the table, with
underscores substituted for spaces. For example, code 22012, DIVISION BY
ZERO, has condition name DIVISION_BY_ZERO." is redundant or obsolete.
I think we should just remove the second column from the table and
rephrase the paragraph above it accordingly. At some point in the
future we could introduce a separate optional data field that adds
actual additional information about the error codes.
view thread (3+ messages) latest in thread
reply
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: [email protected]
Cc: [email protected]
Subject: Re: error codes table
In-Reply-To: <[email protected]>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox