Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 866c6ab

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 19b1511 commit 866c6ab

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

+1-4
Original file line numberDiff line numberDiff line change
@@ -817,10 +817,7 @@ parent transaction to complete.
817817

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

0 commit comments

Comments
 (0)