Re: More on elog and error codes

Поиск
Список
Период
Сортировка
От Thomas Lockhart
Тема Re: More on elog and error codes
Дата
Msg-id 3AB81FD8.5260E97A@alumni.caltech.edu
обсуждение исходный текст
Ответ на Re: More on elog and error codes  (Philip Warner <pjw@rhyme.com.au>)
Ответы Re: More on elog and error codes
Список 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 по дате отправления:

Предыдущее
От: Tatsuo Ishii
Дата:
Сообщение: Re: Re: Final Call: RC1 about to go out the door ...
Следующее
От: Philip Warner
Дата:
Сообщение: Re: More on elog and error codes