Streaming in-progress transactions
Spilling and streaming large in-progress transactions to subscribers before commit, via logical_decoding_work_mem, stream_* plugin callbacks and the subscription streaming option. Introduced in PostgreSQL 14.
Versions
- PostgreSQL 19 · worked-on · improved · minor
- PostgreSQL 18 · shipped · improved · minor · 1 commit · +39 / -30 lines
Threads
- Re: Streaming decoding fails with "unexpected table_index_fetch_tuple call during logical decoding" when a relation has a TOASTed conbin (follow-up to BUG #18641)
- BUG #19728: A logical replication apply worker segfaults dereferencing a NULL `MyLogicalRepWorker->stream_filese
- Streaming decoding fails with "unexpected table_index_fetch_tuple call during logical decoding" when a relation has a TOASTed conbin (follow-up to BUG #18641)
- BUG #19616: pgoutput sends stream abort ('A') to clients that did not enable streaming
- Missing empty transaction optimization in pgoutput plugin
- Make default subscription streaming option as Parallel
- BUG #18641: Logical decoding of two-phase commit fails with TOASTed default values
- Fix possible dereference null pointer (src/backend/replication/logical/reorderbuffer.c)
- Open a streamed block for transactional messages during decoding
- logical_replication_mode
- Inaccurate comments in ReorderBufferCheckMemoryLimit()
- Notify downstream to discard the streamed transaction which was aborted due to crash.
- Force streaming every change in logical decoding
- Avoid streaming the transaction which are skipped (in corner cases)
- Allow streaming the changes after speculative aborts.
- Assertion failure while streaming toasted data
- PATCH: logical_work_mem and logical streaming of large in-progress transactions
- [BUG] "FailedAssertion" reported when streaming in logical replication
- missing documentation for streaming in-progress transactions
- replication cleanup code incorrect way to use of HTAB HASH_REMOVE ?
- pg_subscription - substream column?
- logical streaming of xacts via test_decoding is broken
- Track statistics for streaming of in-progress transactions
- Resetting spilled txn statistics in pg_stat_replication
- Bug in logical decoding of in-progress transactions
- FailedAssertion at ReorderBufferCheckMemoryLimit()
- Small doc improvement about spilled txn tracking
- Handling of concurrent aborts in logical decoding of in-progress xacts