1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-16 06:01:02 +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 237a0b87b1
commit 1e1b01cd16

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.