[HACKERS] Re: More on elog and error codes

2001-03-20 Thread Thomas Lockhart
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

[HACKERS] Re: More on elog and error codes

2001-03-20 Thread Philip Warner
At 03:28 21/03/01 +, Thomas Lockhart wrote: 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

[HACKERS] Re: More on elog and error codes

2001-03-20 Thread Gunnar R|nning
Thomas Lockhart [EMAIL PROTECTED] writes: So we need some good error numbering scheme. Any ideas? SQL9x specifies some error codes, with no particular numbering scheme other than negative numbers indicate a problem afaicr. Shouldn't we map to those where possible? Good point, but I

AW: [HACKERS] Re: More on elog and error codes

2001-03-20 Thread Zeugswetter Andreas SB
So we need some good error numbering scheme. Any ideas? SQL9x specifies some error codes, with no particular numbering scheme other than negative numbers indicate a problem afaicr. Shouldn't we map to those where possible? Yes, it defines at least a few dozen char(5) error codes.

Re: AW: [HACKERS] Re: More on elog and error codes

2001-03-20 Thread Peter Eisentraut
Zeugswetter Andreas SB writes: SQL9x specifies some error codes, with no particular numbering scheme other than negative numbers indicate a problem afaicr. Shouldn't we map to those where possible? Yes, it defines at least a few dozen char(5) error codes. These are hierarchical,

Re: AW: [HACKERS] Re: More on elog and error codes

2001-03-20 Thread Larry Rosenman
[EMAIL PROTECTED] wrote regarding Re: AW: [HACKERS] Re: More on elog and error codes: Zeugswetter Andreas SB writes: SQL9x specifies some error codes, with no particular numbering scheme other than negative numbers indicate a problem afaicr. Shouldn't we map to those where possible

[HACKERS] Re: More on elog and error codes

2001-03-19 Thread Thomas Lockhart
So we need some good error numbering scheme. Any ideas? SQL9x specifies some error codes, with no particular numbering scheme other than negative numbers indicate a problem afaicr. Shouldn't we map to those where possible? - Thomas ---(end of