model-writtenrun 2433 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Will Storey requested a global way to disable autovacuum truncation after a manual VACUUM caused an outage by blocking queries on hot standbys, explaining that per-table settings were cumbersome and could miss catalogs or newly created tables #1.
- Laurenz Albe supported a global setting, while Jeremy Schneider favored improving standby lock replay and selectively disabling truncation; Will clarified that the primary cannot see the standby query contention that makes truncation hazardous #2 #5 #6.
- Gurjeet Singh reported a similar autovacuum-related outage and submitted a SIGHUP-controlled switch that disables autovacuum truncation across the instance, preserving existing behavior by default #7.
- Laurenz requested table-level overrides, documentation, and tests, while Robert Haas urged matching the existing reloption's name and Boolean sense and considering the risks of global disabling; Nathan Bossart supported providing a global setting while treating standby replay improvements as longer-term work #8 #9 #10.
- Nathan reworked the patch into a user-settable vacuum_truncate default for both manual VACUUM and autovacuum, introducing isset_offset to distinguish explicitly set Boolean reloptions from inherited defaults so table settings could take precedence #11.
- Gurjeet independently revised his original implementation with documentation and the positive name autovacuum_vacuum_truncate, retaining the administrator's ability to override table settings and explaining that his submission had crossed with Nathan's rewrite #12.
- Nathan argued for conventional override precedence and a shared setting for manual and automatic vacuuming, with Laurenz and Fujii Masao supporting that design; Fujii also identified a wrong documentation cross-reference and missing precedence wording #14 #15 #16 #17 #18.
- Gurjeet renewed his request for an administrator-enforced prohibition, but Laurenz and Robert Treat favored familiar global-default and per-table override semantics; Robert's suggestion to default truncation off was left for possible future work, and Nathan's revisions retained truncation enabled by default #19 #20 #21 #22.
- Nathan incorporated documentation and initialization refinements, then added regression tests; Fujii's further review led to a consistent Default Behavior category in the GUC metadata, documentation, and sample configuration #22 #23 #24 #26.
- Nathan committed the final attached patch #26 with an identical diff as 0164a0f9ee, crediting Gurjeet as co-author, and announced completion in #27.
- After the feature landed, David G. Johnston questioned whether isset_offset was generic and sufficiently documented, checked dump/restore behavior, and received Nathan's explanation that VACUUM uses parsed reloptions whose default resolution otherwise loses the distinction between unset and explicitly set values #28 #30 #31.
- Nathan proposed an expanded comment inline, David supplied alternative comment changes and accepted Nathan's wording, and Nathan landed the header clarification with light edits as 7d559c8580; the thread ends with both the feature and its comment follow-up committed #29 #32 #33 #34.