Re: Refactoring lock.c - Mailing list pgsql-patches

From Heikki Linnakangas
Subject Re: Refactoring lock.c
Date
Msg-id Pine.OSF.4.61.0502031734040.127773@kosh.hut.fi
Whole thread Raw
In response to Re: Refactoring lock.c  (Neil Conway <neilc@samurai.com>)
List pgsql-patches
On Thu, 3 Feb 2005, Neil Conway wrote:

> On Wed, 2005-02-02 at 21:41 +0200, Heikki Linnakangas wrote:
>> There's two almost identical pieces of code in LockRelease and
>> LockReleaseAll that do the opposite of GrantLock.
>>
>> Here's a small patch that replaces those pieces with a static UnGrantLock
>> function.
>
> LockReleaseAll() did not update the holdMask bits for a released
> proclock, but it will do so now. That's okay because we're removing the
> proclock, right?

Right.

- Heikki

pgsql-patches by date:

Previous
From: ITAGAKI Takahiro
Date:
Subject: Re: [HACKERS] WAL: O_DIRECT and multipage-writer (+ memory leak)
Next
From: "Ed L."
Date:
Subject: Re: dbsize patch