Logical replication of two-phase transactions
Decoding PREPARE TRANSACTION in output plugins and the two_phase subscription option applying prepared transactions on the subscriber. Introduced in PostgreSQL 14.
Versions
- PostgreSQL 18 · shipped · improved · moderate · 2 commits · +454 / -116 lines
- PostgreSQL 17 · worked-on · improved · moderate
Threads
- Document prepared transaction lock waits with two_phase subscriptions
- Avoid resetting subscription two_phase state to pending when already enabled
- Fix concurrent-abort detection for subtransactions of prepared transactions
- pgoutput: schema cache cleanup after streamed 2PC
- [bug fix] prepared transaction might be lost when max_prepared_transactions is zero on the subscriber
- BUG #19556: Segmentation fault in test_decoding
- Minor patch; missing comment update in worker.c
- Random subscription 021_twophase test failure on kestrel
- Found issues related with logical replication and 2PC
- Slow catchup of 2PC (twophase) transactions on replica in LR
- Documentation: warn about two_phase when altering a subscription
- Spinlock is missing when updating two_phase of ReplicationSlot
- Re: [HACKERS] logical decoding of two-phase transactions
- Assertion failure with replication origins and PREPARE TRANSACTIOn
- Fix a bug in DecodeAbort() and improve input data check on subscriber.
- two_phase commit parameter used in subscription for a publication which is on < 15.
- locking [user] catalog tables vs 2pc vs logical rep
- Decoding of two-phase xacts missing from CREATE_REPLICATION_SLOT command
- [PATCH] add concurrent_abort callback for output plugin
- [PATCH] Provide more information to filter_prepare
- Logical Replication vs. 2PC
- Make stream_prepare an optional callback
- Track replica origin progress for Rollback Prepared
- repeated decoding of prepared transactions
- logical decoding of two-phase transactions
- pgsql: Store 2PC GID in commit/abort WAL recs for logical decoding