8000 Fix outdated comment · dirbacke/postgres@da19c32 · GitHub
[go: up one dir, main page]

Skip to content

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

Appearance settings

Commit da19c32

Browse files
committed
Fix outdated comment
Author: Thomas Munro <thomas.munro@enterprisedb.com>
1 parent 8bf9469 commit da19c32

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/backend/storage/lmgr/predicate.c

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -116,10 +116,12 @@
116116
* than its own active transaction must acquire an exclusive
117117
* lock.
118118
*
119-
* FirstPredicateLockMgrLock based partition locks
119+
* PredicateLockHashPartitionLock(hashcode)
120120
* - The same lock protects a target, all locks on that target, and
121-
* the linked list of locks on the target..
122-
* - When more than one is needed, acquire in ascending order.
121+
* the linked list of locks on the target.
122+
* - When more than one is needed, acquire in ascending address order.
123+
* - When all are needed (rare), acquire in ascending index order with
124+
* PredicateLockHashPartitionLockByIndex(index).
123125
*
124126
* SerializableXactHashLock
125127
* - Protects both PredXact and SerializableXidHash.

0 commit comments

Comments
 (0)
0