Skip to content

Commit 0dafa95

Browse files
committed
Update transaction README for persistent multixacts
Multixacts are now maintained during recovery, but the README didn't get the memo. Backpatch to 9.3, where the divergence was introduced.
1 parent 4b19530 commit 0dafa95

File tree

1 file changed

+1
-4
lines changed
  • src/backend/access/transam

1 file changed

+1
-4
lines changed

src/backend/access/transam/README

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -812,10 +812,7 @@ parent transaction to complete.
812812

813813
Not all transactional behaviour is emulated, for example we do not insert
814814
a transaction entry into the lock table, nor do we maintain the transaction
815-
stack in memory. Clog entries are made normally. Multixact is not maintained
816-
because its purpose is to record tuple level locks that an application has
817-
requested to prevent other tuple locks. Since tuple locks cannot be obtained at
818-
all, there is never any conflict and so there is no reason to update multixact.
815+
stack in memory. Clog and multixact entries are made normally.
819816
Subtrans is maintained during recovery but the details of the transaction
820817
tree are ignored and all subtransactions reference the top-level TransactionId
821818
directly. Since commit is atomic this provides correct lock wait behaviour

0 commit comments

Comments
 (0)