1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-01 14:21:49 +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
* lock.
*
* FirstPredicateLockMgrLock based partition locks
* PredicateLockHashPartitionLock(hashcode)
* - The same lock protects a target, all locks on that target, and
* the linked list of locks on the target..
* - 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.
* - When all are needed (rare), acquire in ascending index order with
* PredicateLockHashPartitionLockByIndex(index).
*
* SerializableXactHashLock
* - Protects both PredXact and SerializableXidHash.