Re: [HACKERS] Not your father's question about deadlocks

Поиск
Список
Период
Сортировка
От Gurjeet Singh
Тема Re: [HACKERS] Not your father's question about deadlocks
Дата
Msg-id 65937bea0611161249o2ce930ar542cce00132604e3@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Not your father's question about deadlocks  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: [HACKERS] Not your father's question about deadlocks  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
On 11/17/06, Tom Lane <tgl@sss.pgh.pa.us> wrote:
we need a special case when we are already a member of the MultiXact:
fall through without trying to reacquire the tuple lock.

Small implementation detail: Also keep a count of how many times the same session requested the same lock, and do not release the lock until he requests same number of releases.

This might add (may be significant) overhead, but I am concerned with whether it is desirable?

Comments?  Should we change HeapTupleSatisfiesUpdate's API to
distinguish this case, or is it better to have a localized change
in heap_lock_tuple?



--
gurjeet[.singh]@EnterpriseDB.com
singh.gurjeet@{ gmail | hotmail | yahoo }.com

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

Предыдущее
От: Glen Parker
Дата:
Сообщение: Linux hard drive/device nodes for a Postgres RAID array
Следующее
От: Martijn van Oosterhout
Дата:
Сообщение: Re: Accessing postgres in perl app using ssl authentication