mirror of
https://github.com/postgres/postgres.git
synced 2025-11-06 07:49:08 +03:00
Finish rename of FastPathStrongLocks to FastPathStrongRelationLocks.
Commit 8e5ac74c12 tried to do this renaming,
but I relied on gcc to tell me where I needed to make changes, instead of
grep.
Noted by Jeff Davis.
This commit is contained in:
@@ -723,8 +723,8 @@ LockAcquireExtended(const LOCKTAG *locktag,
|
||||
/*
|
||||
* LWLockAcquire acts as a memory sequencing point, so it's safe
|
||||
* to assume that any strong locker whose increment to
|
||||
* FastPathStrongLocks->counts becomes visible after we test it has
|
||||
* yet to begin to transfer fast-path locks.
|
||||
* FastPathStrongRelationLocks->counts becomes visible after we test
|
||||
* it has yet to begin to transfer fast-path locks.
|
||||
*/
|
||||
LWLockAcquire(MyProc->backendLock, LW_EXCLUSIVE);
|
||||
if (FastPathStrongRelationLocks->count[fasthashcode] != 0)
|
||||
|
||||
Reference in New Issue
Block a user