Re: Add “FOR UPDATE NOWAIT” lock details to the log.

Поиск
Список
Период
Сортировка
От Yuki Seino
Тема Re: Add “FOR UPDATE NOWAIT” lock details to the log.
Дата
Msg-id bbf4eca8-7c5b-4c9a-96e1-3f2f121a8329@oss.nttdata.com
обсуждение исходный текст
Ответ на Re: Add “FOR UPDATE NOWAIT” lock details to the log.  (Fujii Masao <masao.fujii@oss.nttdata.com>)
Ответы Re: Add “FOR UPDATE NOWAIT” lock details to the log.
Список pgsql-hackers
>
> Instead, wouldn't it be simpler to update LockAcquireExtended() to
> take a new argument, like logLockFailure, to control whether
> a lock failure should be logged directly? I’ve adjusted the patch
> accordingly and attached it. Please let me know what you think!
>
> Regards,
Thank you!

It's very simple and nice.
It seems like it can also handle other lock failure cases by extending 
logLockFailure.

I agree with this propose.


Regards,




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