model-writtenrun 393 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Masahiko Sawada reported that PostgreSQL 19's autovacuum scores view used default parameters for TOAST tables without their own reloptions instead of inheriting the main table's parameters, supplied a reproducer, and advocated a targeted fix without backpatching the broader PostgreSQL 20 change #1.
- Nathan Bossart acknowledged the bug and supplied a patch that first collects main-table autovacuum parameters in a hash table, then scans pg_class again to compute scores with the appropriate TOAST fallback #2 #3.
- Nathan promptly corrected his initial patch by removing a duplicate parameter-extraction call that defeated the fallback, fixing a typo, and adjusting formatting without changing the design #4.
- Masahiko approved the revised patch and noted that its ar_hasrelopts check was redundant but acceptable for consistency with do_autovacuum(), which Nathan agreed with #5 #6.
- Masahiko also raised missing regression coverage; Nathan explained his concern about test stability, and Masahiko suggested disabling autovacuum during tests while agreeing to leave test additions for separate work #5 #6 #7.
- Nathan committed the revised patch with only comment and commit-message edits as 7ddb9c41a1 and confirmed completion in the final message, leaving regression tests outside this PostgreSQL 19 fix #4 #8.