Re: Refactoring lock.c

From: Neil Conway <neilc(at)samurai(dot)com>
To: Heikki Linnakangas <hlinnaka(at)iki(dot)fi>
Cc: pgsql-patches(at)postgresql(dot)org
Subject: Re: Refactoring lock.c
Date: 2005-02-04 02:06:06
Message-ID: 4202D88E.4060906@samurai.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

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.

Applied to HEAD with a few trivial editorial fixes.

Thanks for the patch.

-Neil

In response to

Browse pgsql-patches by date

  From Date Subject
Next Message Tom Lane 2005-02-04 02:41:52 Proof-of-concept ARC removal patches
Previous Message Tom Lane 2005-02-03 20:24:31 buffer manager refactoring to isolate ARC algorithm