Re: Error codes revisited

Поиск
Список
Период
Сортировка
От Mike Mascari
Тема Re: Error codes revisited
Дата
Msg-id 3E67099F.2000407@mascari.com
обсуждение исходный текст
Ответ на Re: Error codes revisited  (Christoph Haller <ch@rodos.fzk.de>)
Список pgsql-hackers
Christoph Haller wrote:
>>Given the repeatedly-asked-for functionalities (like error codes)
>>for which the stopper has been the long-threatened protocol revision,
>>I'd think it might be boring, but would hardly be thankless. Heck, I'd
> 
> 
>>expect a few whoops of joy around the lists.
>>
> 
> Yes. Error codes would be great.

Particularly if they arrive in conjunction with Bruce's "Nested 
Transaction" implementation. I image many people would like to 
create a subtransaction, which, if it fails due to a unique key 
violation, could recover and perform an update.

I'd personally like some way of mapping RI-related messages into  application-specific, perhaps localized, messages.
Errorcodes 
 
will provide a nice starting point. Will the action and object 
upon which the action is being attempted also be available?

Mike Mascari
mascarm@mascari.com



В списке pgsql-hackers по дате отправления:

Предыдущее
От: "Dave Page"
Дата:
Сообщение: Re: Win32 Powerfail testing
Следующее
От: Justin Clift
Дата:
Сообщение: Postgresql.org site outage