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

From Neil Conway
Subject Re: Refactoring lock.c
Date
Msg-id 4202D88E.4060906@samurai.com
Whole thread Raw
In response to Refactoring lock.c  (Heikki Linnakangas <hlinnaka@iki.fi>)
List 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

pgsql-patches by date:

Previous
From: Tom Lane
Date:
Subject: buffer manager refactoring to isolate ARC algorithm
Next
From: Tom Lane
Date:
Subject: Proof-of-concept ARC removal patches