Re: [GENERAL] Not your father's question about deadlocks - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [GENERAL] Not your father's question about deadlocks
Date
Msg-id 964.1163710918@sss.pgh.pa.us
Whole thread Raw
In response to Re: [GENERAL] Not your father's question about deadlocks  ("Gurjeet Singh" <singh.gurjeet@gmail.com>)
Responses Re: [GENERAL] Not your father's question about deadlocks  ("Gurjeet Singh" <singh.gurjeet@gmail.com>)
List pgsql-hackers
"Gurjeet Singh" <singh.gurjeet@gmail.com> writes:
> 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.

No need for that, because there isn't any heap_unlock_tuple.

            regards, tom lane

pgsql-hackers by date:

Previous
From: "Gurjeet Singh"
Date:
Subject: Re: [GENERAL] Not your father's question about deadlocks
Next
From: "Gurjeet Singh"
Date:
Subject: Re: [GENERAL] Not your father's question about deadlocks