1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-05 23:56:58 +03:00

Fix outdated comment

Author: Thomas Munro <thomas.munro@enterprisedb.com>
This commit is contained in:
Peter Eisentraut 2017-08-23 14:19:35 -04:00
parent 8bf9469469
commit da19c32c6b

View File

@ -116,10 +116,12 @@
* than its own active transaction must acquire an exclusive * than its own active transaction must acquire an exclusive
* lock. * lock.
* *
* FirstPredicateLockMgrLock based partition locks * PredicateLockHashPartitionLock(hashcode)
* - The same lock protects a target, all locks on that target, and * - The same lock protects a target, all locks on that target, and
* the linked list of locks on the target.. * the linked list of locks on the target.
* - When more than one is needed, acquire in ascending order. * - When more than one is needed, acquire in ascending address order.
* - When all are needed (rare), acquire in ascending index order with
* PredicateLockHashPartitionLockByIndex(index).
* *
* SerializableXactHashLock * SerializableXactHashLock
* - Protects both PredXact and SerializableXidHash. * - Protects both PredXact and SerializableXidHash.