pgsql: Fix build with LWLOCK_STATS or dtrace.

From: Heikki Linnakangas <heikki(dot)linnakangas(at)iki(dot)fi>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix build with LWLOCK_STATS or dtrace.
Date: 2014-03-21 22:33:10
Message-ID: E1WR7zy-0001xq-9K@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Fix build with LWLOCK_STATS or dtrace.

Also fix the name of the dtrace probe for LWLockAcquireOrWait(). The
function was renamed from LWLockWaitUntilFree to LWLockAqcuireOrWait, but
the dtrace probe was neglected.

Pointed out by Andres Freund and the buildfarm.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/dea6ed2c980286e89caf4166ad329f506abbff29

Modified Files
--------------
src/backend/storage/lmgr/lwlock.c | 19 ++++++++++++++-----
src/backend/utils/probes.d | 4 ++--
2 files changed, 16 insertions(+), 7 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Heikki Linnakangas 2014-03-21 22:42:53 pgsql: Fix thinkos in GinLogicValue enum.
Previous Message Heikki Linnakangas 2014-03-21 22:30:36 Re: pgsql: Allow opclasses to provide tri-valued GIN consistent functions.