Skip site navigation (1) Skip section navigation (2)

Re: Refactoring lock.c

From: Heikki Linnakangas <hlinnaka(at)iki(dot)fi>
To: Neil Conway <neilc(at)samurai(dot)com>
Cc: pgsql-patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: Refactoring lock.c
Date: 2005-02-03 15:34:28
Message-ID: Pine.OSF.4.61.0502031734040.127773@kosh.hut.fi (view raw or flat)
Thread:
Lists: 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

In response to

pgsql-patches by date

Next:From: Martin PittDate: 2005-02-03 15:58:28
Subject: Re: libpq API incompatibility between 7.4 and 8.0
Previous:From: Bruce MomjianDate: 2005-02-03 14:42:18
Subject: Re: libpq API incompatibility between 7.4 and 8.0

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group