model-writtenrun 9504 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Antonin Houska reported that StartupDecodingContext() sets the WAL reader's private_data twice and questioned whether either assignment was needed #1.
- His patch removed the explicit assignment and passed NULL to XLogReaderAllocate(); he reported that a simple logical replication test still worked #1.
- Tom Lane agreed that the duplicate assignment was pointless but recommended retaining ctx as private_data for possible future use #2.
- Michael Paquier committed only the duplicate-assignment removal from #1, preserving initialization through XLogReaderAllocate() in 5ed4b123b6.
- Michael Paquier closed the thread by confirming the commit and agreement with retaining the allocator's assignment; the proposed NULL argument was left out #3.