Skip to content

Commit 09418be

Browse files
committed
Remove bogus tracepoint
Calls to LWLockWaitForVar() fired the TRACE_POSTGRESQL_LWLOCK_ACQUIRE tracepoint, but LWLockWaitForVar() never actually acquires the LWLock. (Probably a copy/paste bug in 68a2e52.) Remove it. Author: Craig Ringer <craig.ringer@enterprisedb.com> Discussion: https://www.postgresql.org/message-id/flat/CAGRY4nxJo+-HCC2i5H93ttSZ4gZO-FSddCwvkb-qAfQ1zdXd1w@mail.gmail.com
1 parent 29ad659 commit 09418be

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/backend/storage/lmgr/lwlock.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1725,8 +1725,6 @@ LWLockWaitForVar(LWLock *lock, uint64 *valptr, uint64 oldval, uint64 *newval)
17251725
/* Now loop back and check the status of the lock again. */
17261726
}
17271727

1728-
TRACE_POSTGRESQL_LWLOCK_ACQUIRE(T_NAME(lock), LW_EXCLUSIVE);
1729-
17301728
/*
17311729
* Fix the process wait semaphore's count for any absorbed wakeups.
17321730
*/

0 commit comments

Comments
 (0)