| 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 |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| 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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Martin Pitt | 2005-02-03 15:58:28 | Re: libpq API incompatibility between 7.4 and 8.0 |
| Previous Message | Bruce Momjian | 2005-02-03 14:42:18 | Re: libpq API incompatibility between 7.4 and 8.0 |