Re: releaseOk and LWLockWaitForVar

Поиск
Список
Период
Сортировка
Искать
От
Heikki Linnakangas
Тема
Re: releaseOk and LWLockWaitForVar
Дата
Msg-id
53A85860.2020400@vmware.com
Ответ на
Список
Дерево обсуждения
releaseOk and LWLockWaitForVar Andres Freund <andres@2ndquadrant.com>
Re: releaseOk and LWLockWaitForVar Heikki Linnakangas <hlinnakangas@vmware.com>
Re: releaseOk and LWLockWaitForVar Amit Kapila <amit.kapila16@gmail.com>
Re: releaseOk and LWLockWaitForVar Heikki Linnakangas <hlinnakangas@vmware.com>
Re: releaseOk and LWLockWaitForVar Amit Kapila <amit.kapila16@gmail.com>
On 06/23/2014 05:38 PM, Amit Kapila wrote:
> While looking at function LWLockWaitForVar(), espacially below
> code:
>
> TRACE_POSTGRESQL_LWLOCK_ACQUIRE(T_NAME(l), T_ID(l), LW_EXCLUSIVE);
>
> I think in this function tracing is done considering the Exclusive lock
> is acquired, however it might have granted access because of
> variable updation.  Basically this function's trace doesn't distinguish
> whether the access is granted due to the reason that there is no other
> exclusive locker or variable is updated.

Yeah. Not sure it's worth it to add new TRACE points for this, I'm not 
really familiar with the way the traces work or how people use them.

- Heikki



В списке pgsql-hackers по дате отправления
От: Andres Freund
Дата:
От: Vik Fearing
Дата:
FAQ