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

pgsql: Improve LockAcquire API per my recent proposal.

From: tgl(at)svr1(dot)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Improve LockAcquire API per my recent proposal.
Date: 2005-05-29 22:45:02
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-committers
Log Message:
Improve LockAcquire API per my recent proposal.  All error conditions
are now reported via elog, eliminating the need to test the result code
at most call sites.  Make it possible for the caller to distinguish a
freshly acquired lock from one already held in the current transaction.
Use that capability to avoid redundant AcceptInvalidationMessages() calls
in LockRelation().

Modified Files:
        user_locks.c (r1.17 -> r1.18)
        lmgr.c (r1.74 -> r1.75)
        lock.c (r1.153 -> r1.154)
        lock.h (r1.86 -> r1.87)

pgsql-committers by date

Next:From: User DpavlinDate: 2005-05-29 23:00:40
Subject: pgswish - pgswish: make it less chatty at INFO logging level
Previous:From: User DpavlinDate: 2005-05-29 22:41:44
Subject: pgswish - pgswish: subversion revision 22 commited to CVS

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