model-writtenrun 2937 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Alexander Lakhin reported that logical decoding of prepared transactions fails when a table has a TOASTed default value, supplying a reproducer and stack trace in #1.
- Takeshi Ideriha reproduced the failure and proposed setting and clearing bsysscan around ordered system-table scans in #2, explaining that the scan already performs concurrent-abort checks.
- Amit Kapila confirmed the omission, requested a cheap regression test, and questioned whether ordinary streaming also fails in #4; Takeshi confirmed failures without two-phase commit on PostgreSQL 14 and HEAD and corrected formatting in #5.
- Amit proposed forcing streaming with debug_logical_replication_streaming in #7; Hou Zhijie instead supplied a cheaper SQL regression test confined to decoding, approved the fix, and included its formatting cleanup in #9.
- Back-branch testing revealed that PostgreSQL 14 and 15 lack the debug setting, so Hou supplied branch-specific patches and a test generating enough data to exceed logical_decoding_work_mem in #10, the thread's final message.
- Amit subsequently committed the fix and larger-data regression test as efe706e273, consistent with the final submission in #10, with backpatches through PostgreSQL 14; the supplied record shows no remaining work.