public inbox for [email protected]  
help / color / mirror / Atom feed
error codes table
4+ messages / 4 participants
[nested] [flat]

* error codes table
@ 2011-05-19 21:04  Peter Eisentraut <[email protected]>
  0 siblings, 2 replies; 4+ messages in thread

From: Peter Eisentraut @ 2011-05-19 21:04 UTC (permalink / raw)
  To: pgsql-docs

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.






^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* please unsubscribe me
@ 2011-05-19 23:57  Ferdian Zaman <[email protected]>
  parent: Peter Eisentraut <[email protected]>
  1 sibling, 0 replies; 4+ messages in thread

From: Ferdian Zaman @ 2011-05-19 23:57 UTC (permalink / raw)
  To: pgsql-docs





________________________________
From: Peter Eisentraut <[email protected]>
To: pgsql-docs <[email protected]>
Sent: Friday, May 20, 2011 4:04 AM
Subject: [DOCS] error codes table

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.




-- 
Sent via pgsql-docs mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-docs

^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: error codes table
@ 2011-05-20 03:08  Euler Taveira de Oliveira <[email protected]>
  parent: Peter Eisentraut <[email protected]>
  1 sibling, 0 replies; 4+ messages in thread

From: Euler Taveira de Oliveira @ 2011-05-20 03:08 UTC (permalink / raw)
  To: Peter Eisentraut <[email protected]>; +Cc: pgsql-docs

Em 19-05-2011 18:04, Peter Eisentraut escreveu:
> 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.
>
+1. Moreover, I suggest to lowercase condition names in PL/pgSQL documentation 
because it is inconsistent (I know that it says that the condition names are 
case-sensitive but first time I saw them I've started thinking they could be 
different macros but they weren't).


-- 
   Euler Taveira de Oliveira - Timbira       http://www.timbira.com.br/
   PostgreSQL: Consultoria, Desenvolvimento, Suporte 24x7 e Treinamento




^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: please unsubscribe me
@ 2011-05-20 03:11  Kevin Grittner <[email protected]>
  0 siblings, 0 replies; 4+ messages in thread

From: Kevin Grittner @ 2011-05-20 03:11 UTC (permalink / raw)
  To: pgsql-docs; [email protected]

Peter Eisentraut 
 
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-docs
 
Ferdian Zaman  wrote:
 
> 
 
Did you try visiting the web page mentioned in the post to which
you replied?  If so, did you have a problem unsubscribing?  If so,
please describe what happened so we can fix it.
 
-Kevin






^ permalink  raw  reply  [nested|flat] 4+ messages in thread


end of thread, other threads:[~2011-05-20 03:11 UTC | newest]

Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2011-05-19 21:04 error codes table Peter Eisentraut <[email protected]>
2011-05-19 23:57 ` please unsubscribe me Ferdian Zaman <[email protected]>
2011-05-20 03:08 ` Euler Taveira de Oliveira <[email protected]>
2011-05-20 03:11 Re: please unsubscribe me Kevin Grittner <[email protected]>

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox