pgsql: Fix build with LWLOCK_STATS or dtrace.
pgsql: Fix build with LWLOCK_STATS or dtrace.
От:
Heikki Linnakangas <heikki.linnakangas@iki.fi>
Дата:
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(-)