1
0
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:
Robert Haas
2012-04-18 11:29:34 -04:00
parent 53c5b869b4
commit 4a6fab03f2
3 changed files with 8 additions and 8 deletions

View File

@@ -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)