Re: Improving deadlock error messages

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Improving deadlock error messages
Дата
Msg-id 13821.1177364299@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Improving deadlock error messages  (Neil Conway <neilc@samurai.com>)
Ответы Re: Improving deadlock error messages  (Neil Conway <neilc@samurai.com>)
Re: Improving deadlock error messages  (Jim Nasby <decibel@decibel.org>)
Список pgsql-hackers
Neil Conway <neilc@samurai.com> writes:
> On Sat, 2007-04-21 at 19:43 -0400, Neil Conway wrote:
>> Attached is a very quick hack of a patch to do this.

> Does anyone have any feedback on this approach? If people are satisfied
> with this solution, I can get a cleaned up patch ready to apply shortly.

I'm really still opposed to the entire concept.  You're proposing to put
a lot of fragile-looking code into a seldom-exercised error path.
I fear bugs will survive a long time in there, and the net effect will be
that we get no information when we need it most.  The numeric printouts
may be ugly, but they are reliable.
        regards, tom lane


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

Предыдущее
От: "William Lawrance"
Дата:
Сообщение: Re: [BUGS] BUG #3244: problem with PREPARE
Следующее
От: Josh Berkus
Дата:
Сообщение: Re: [PATCHES] Full page writes improvement, code update