pgsql: Refactor some duplicated code in lock.c: create UnGrantLock(),

From: neilc(at)svr1(dot)postgresql(dot)org (Neil Conway)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Refactor some duplicated code in lock.c: create UnGrantLock(),
Date: 2005-02-04 02:06:26
Message-ID: 20050204020626.4A2B38BA007@svr1.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Refactor some duplicated code in lock.c: create UnGrantLock(), move code
from LockRelease() and LockReleaseAll() into it. From Heikki Linnakangas.

Modified Files:
--------------
pgsql/src/backend/storage/lmgr:
lock.c (r1.145 -> r1.146)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/storage/lmgr/lock.c.diff?r1=1.145&r2=1.146)

Browse pgsql-committers by date

  From Date Subject
Next Message deeps1 2005-02-05 11:54:32 How I can add new function writing on C under Win32 for PostgreSQL v 8.0.1
Previous Message Tom Lane 2005-02-03 23:39:29 pgsql: Fix minor thinko in logic to set dump order when dumping from a