Re: Improving deadlock error messages

Поиск
Список
Период
Сортировка
От Neil Conway
Тема Re: Improving deadlock error messages
Дата
Msg-id 1177365959.16415.170.camel@localhost.localdomain
обсуждение исходный текст
Ответ на Re: Improving deadlock error messages  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Improving deadlock error messages  (Alvaro Herrera <alvherre@commandprompt.com>)
Список pgsql-hackers
On Mon, 2007-04-23 at 17:38 -0400, Tom Lane wrote:
> 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.

There's certainly not a "lot" of code: the patch just adds a few
syscache lookups, wrapped in a PG_LOCK_NOWAIT() block.

As for fragility, I think the important point is whether it's safe to
siglongjmp() out of LockAcquire(); the rest is just window dressing.

-Neil




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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Wild idea: 9.0?
Следующее
От: usleepless@gmail.com
Дата:
Сообщение: Re: [pgsql-advocacy] Wild idea: 9.0?