agora inbox for postgres@postgres.berkeley.edu
help / color / mirror / Atom feedFrom: Paul Brunner <brunner@gdc.com>
To: postgres@postgres.Berkeley.EDU
Subject: Handling of error messages
Date: Thu, 30 Jun 94 11:16:02 EDT
Message-ID: <9406301516.AA19146@mailhost.gdc.com> (raw)
Is there a relation somewhere in the POSTGRES data area where all of the
error messages are stored? Or is there one source file or a very small set
of source files where the possible error messages are kept?
I am interested in hearing how people handle error processing due to the
fact that only the PQexec and PQfn calls return an explicit error
indication. If one wants to handle specific errors in different ways,
one has to parse the textual error message to determine the exact kind
of error. This is not as easy to process as if the functions returned specific
numerical error codes, for example.
==============================================================================
To add/remove yourself to/from the POSTGRES mailing list: send mail with
the subject line ADD or DEL to "postgres-request@postgres.Berkeley.EDU"
If this fails, send mail to "post_questions@postgres.Berkeley.EDU" and
a human will deal with it. DO NOT post to the "postgres" mailing list.
==============================================================================
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: postgres@postgres.berkeley.edu
Cc: brunner@gdc.com
Subject: Re: Handling of error messages
In-Reply-To: <9406301516.AA19146@mailhost.gdc.com>
* 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