Re: More on elog and error codes - Mailing list pgsql-hackers

From Thomas Lockhart
Subject Re: More on elog and error codes
Date
Msg-id 3AB81FD8.5260E97A@alumni.caltech.edu
Whole thread Raw
In response to Re: More on elog and error codes  (Philip Warner <pjw@rhyme.com.au>)
Responses Re: More on elog and error codes  (Philip Warner <pjw@rhyme.com.au>)
List pgsql-hackers
> Creating central message files/objects has the added advantage of a much
> simpler locale support - they're just resource files, and they're NOT
> embedded throughout the code.
> Finally, if you do want to have some kind of error classification beyond
> the SQL code, it could be encoded in the error message file.

We could also (automatically) build a DBMS reference table *from* this
message file (or files), which would allow lookup of messages from codes
for applications which are not "message-aware".

Not a requirement, and it does not meet all needs (e.g. you would have
to be connected to get the messages in that case) but it would be
helpful for some use cases...
                     - Thomas


pgsql-hackers by date:

Previous
From: Tatsuo Ishii
Date:
Subject: Re: Re: Final Call: RC1 about to go out the door ...
Next
From: Philip Warner
Date:
Subject: Re: More on elog and error codes