Thread: BUG #6377: some notice on the manual page

BUG #6377: some notice on the manual page

From
moiseev.igor@gmail.com
Date:
The following bug has been logged on the website:

Bug reference:      6377
Logged by:          Igor
Email address:      moiseev.igor@gmail.com
PostgreSQL version: 8.4.10
Operating system:   any
Description:=20=20=20=20=20=20=20=20

On the page of "Appendix A. PostgreSQL Error Codes"
(http://www.postgresql.org/docs/8.4/interactive/errcodes-appendix.html)
there is no info about the special condition name "OTHERS" which matches
every error type except QUERY_CANCELED

The info about the OTHERS could only be found in the subsection "38.6.5.
Trapping Errors"
(http://www.postgresql.org/docs/8.4/interactive/plpgsql-control-structures.=
html)

It seems reasonable at least to notice the OTHERS condition in Appendix A.
Would save a lot of time!
Thanks.

Re: BUG #6377: some notice on the manual page

From
Robert Haas
Date:
On Wed, Jan 4, 2012 at 6:15 AM,  <moiseev.igor@gmail.com> wrote:
> The following bug has been logged on the website:
>
> Bug reference: =A0 =A0 =A06377
> Logged by: =A0 =A0 =A0 =A0 =A0Igor
> Email address: =A0 =A0 =A0moiseev.igor@gmail.com
> PostgreSQL version: 8.4.10
> Operating system: =A0 any
> Description:
>
> On the page of "Appendix A. PostgreSQL Error Codes"
> (http://www.postgresql.org/docs/8.4/interactive/errcodes-appendix.html)
> there is no info about the special condition name "OTHERS" which matches
> every error type except QUERY_CANCELED
>
> The info about the OTHERS could only be found in the subsection "38.6.5.
> Trapping Errors"
> (http://www.postgresql.org/docs/8.4/interactive/plpgsql-control-structure=
s.html)
>
> It seems reasonable at least to notice the OTHERS condition in Appendix A.
> Would save a lot of time!
> Thanks.

That seems a bit out of place to me, because that chapter is not
really about PL/pgsql, and OTHERS is not an exception name, just a
PL/pgsql construct.  Maybe we could work a cross-reference into the
sentence that mentions PL/plgsql, though.

--=20
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

Re: BUG #6377: some notice on the manual page

From
igor
Date:
OK, but at least some notes on the technique or special small section in the
manual.  I was able to extract this info from the manual using this query to
google just by chance when I already lost any hope

https://www.google.com/search?q=postgresql+match+every+error

Thanks, I.

--
View this message in context:
http://postgresql.1045698.n5.nabble.com/BUG-6377-some-notice-on-the-manual-page-tp5119443p5133743.html
Sent from the PostgreSQL - bugs mailing list archive at Nabble.com.