pgsql: Fix build with LWLOCK_STATS or dtrace. - Mailing list pgsql-committers

From Heikki Linnakangas
Subject pgsql: Fix build with LWLOCK_STATS or dtrace.
Date
Msg-id E1WR7zy-0001xq-9K@gemulon.postgresql.org
Whole thread Raw
List 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(-)


pgsql-committers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: Re: pgsql: Allow opclasses to provide tri-valued GIN consistent functions.
Next
From: Heikki Linnakangas
Date:
Subject: pgsql: Fix thinkos in GinLogicValue enum.