Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8bf9469 commit da19c32Copy full SHA for da19c32
src/backend/storage/lmgr/predicate.c
@@ -116,10 +116,12 @@
116
* than its own active transaction must acquire an exclusive
117
* lock.
118
*
119
- * FirstPredicateLockMgrLock based partition locks
+ * PredicateLockHashPartitionLock(hashcode)
120
* - 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.
+ * the linked list of locks on the target.
+ * - 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).
125
126
* SerializableXactHashLock
127
* - Protects both PredXact and SerializableXidHash.
0 commit comments