model-writtenrun 8706 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Peter Eisentraut opened the thread with the announcement that WAL receivers would create temporary replication slots by default when no permanent slot was configured #1.
- Michael Paquier objected that connection configuration should come through the startup process and proposed making wal_receiver_create_temp_slot restart-only #2; Sergei Kornilov supplied a patch moving the decision into RequestXLogStreaming() #3.
- Robert Haas requested an explanation of the feature's benefit #4, and Peter explained that temporary slots prevent required WAL from disappearing during a connection #5.
- Peter questioned whether configuration inconsistency mattered for a setting used only by the WAL receiver #6, but Andres Freund argued that independently loaded settings would undermine coordination between startup and possible multiple receivers #7; Michael requested comments documenting the intended configuration flow #9.
- Jehan-Guillaume de Rorthais warned that a lagging standby could retain enough WAL to fill the primary's disk and proposed disabling temporary slots by default #8; Fujii Masao supported disabling them pending retention limits #10, while Michael and Kyotaro Horiguchi questioned whether such limits would justify enabling them by default at all #11 #12.
- Michael's code review requested passing the temporary-slot flag explicitly into RequestXLogStreaming() and changing its default to off #13; Sergei implemented those changes #14, and Michael refined comments and configuration formatting while retaining Sergei's authorship #15.
- Sergei discovered that Michael's revision had accidentally removed the empty-string slot-name check and restored it so an unset primary_slot_name would allow temporary-slot creation #16.
- At the thread's last message, Michael confirmed the correction and added the work to the PostgreSQL 13 open-items list, with the patch still awaiting commitment #17.
- Álvaro Herrera subsequently committed the final patch with comment refinements, formatting changes, and an invariant assertion as 092c6936de; temporary slots became opt-in and restart-only, with reload support explicitly left for future work.