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

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 (view raw or flat)
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

pgsql-patches by date

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

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