model-writtenrun 8369 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Laurenz Albe reported that a customer's upgrade failed because vacuum_defer_cleanup_age=10000 prevented pg_database from being frozen before commit logs were copied, causing subsequent updates to reference a missing pg_xact file #1.
- Laurenz Albe supplied a patch forcing vacuum_defer_cleanup_age=0 when pg_upgrade starts the new cluster, ensuring vacuumdb --freeze can freeze its tuples #1.
- Bruce Momjian agreed that the setting could cause serious, difficult-to-diagnose upgrade failures and promised to apply the patch to all branches #2.
- Bruce Momjian committed the patch unchanged as 3f5863e156, with backpatching through PostgreSQL 9.5, and announced its application to all supported versions #3.
- Laurenz Albe thanked Bruce Momjian #4, and Bruce noted that the setting's potential impact on pg_upgrade had gone unnoticed since its introduction in 2009; the thread ended with the fix landed and no outstanding work #5.