Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit09418be

Browse files
committed
Remove bogus tracepoint
Calls to LWLockWaitForVar() fired the TRACE_POSTGRESQL_LWLOCK_ACQUIREtracepoint, but LWLockWaitForVar() never actually acquires the LWLock.(Probably a copy/paste bug in68a2e52.) 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 parent29ad659 commit09418be

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)

[8]ページ先頭

©2009-2025 Movatter.jp