model-writtenrun 1991 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Hugo DUBOIS reported that enabling sync_replication_slots through a configuration reload shut down a PostgreSQL 17.5 standby with wal_level=replica; Fujii Masao reproduced it on master and traced it to ValidateSlotSyncParams() raising ERROR in the postmaster, where it becomes fatal #1 #2.
- Fujii's first patch made validation honor the caller's error level while adding an early startup rejection for incompatible settings; Shveta Malik validated it, and Hugo's testing confirmed the runtime fix but exposed that the new startup check also prevented a misconfigured primary from restarting #3 #4 #5.
- Fujii explained that wal_level warranted special startup treatment because changing it requires a restart, unlike the other slot-sync prerequisites; although Hugo favored strict startup validation, Fujii removed that check from the revised patch to preserve existing configurations across minor upgrades, and Hugo approved the revision #6 #7 #8 #9.
- Shveta advocated strict startup validation on both master and back branches, with Amit Kapila agreeing, but Fujii argued that this was an improvement rather than a necessary bug fix and should not break startup after a minor upgrade #10 #11 #12.
- Laurenz Albe supported preserving compatibility while suggesting the stricter check could still reach PostgreSQL 18 with release notes; Shveta accepted that suggestion, and Xuneng Zhou reinforced the concern about surprising startup failures #13 #14 #15.
- Fujii committed the runtime fix from #8 as 4614d53d4e with identical code and a corrected commit description, backpatched it through PostgreSQL 17, and reposted the deferred startup check separately, arguing that PostgreSQL 18 was already too far into beta for this improvement #16.
- Shveta approved the standalone startup check and accepted master-only inclusion; Fujii subsequently committed #16 unchanged as 12da45742c and confirmed completion, leaving both changes landed with stricter startup validation confined to master #17 #21.