Re: Transaction-scope advisory locks

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Transaction-scope advisory locks
Дата
Msg-id 14807.1292346328@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Transaction-scope advisory locks  (Marko Tiikkaja <marko.tiikkaja@cs.helsinki.fi>)
Ответы Re: Transaction-scope advisory locks  (Marko Tiikkaja <marko.tiikkaja@cs.helsinki.fi>)
Список pgsql-hackers
Marko Tiikkaja <marko.tiikkaja@cs.helsinki.fi> writes:
> On 2010-12-14 4:23 AM +0200, Tom Lane wrote:
>> Uh, I don't think so.  It sure looks like you have changed the user
>> lockmethod to be transactional, ie, auto-release on commit/abort.

> I was under the impression that passing sessionLock=true to 
> LockAcquire(), combined with allLocks=false to LockReleaseAll() would be 
> enough to prevent that from happening.  My tests seem to agree with this.

> Am I missing something?

All the places that look at LockMethodData->transactional ?
        regards, tom lane


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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: hstores in pl/python
Следующее
От: Jeff Janes
Дата:
Сообщение: Re: BufFreelistLock