model-writtenrun 3577 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Robert Haas reported that incremental backups could retain stale catalogs after a database was dropped and recreated using FILE_COPY, and proposed a relfilenumber-zero marker forcing full backup of the affected database/tablespace pair, with a regression test #1.
- Noah Misch reviewed the patch, identified other WAL record types worth checking, raised transaction-ID handling, and suggested correcting a comment that referred to a tablespace instead of a database #2.
- Robert clarified that only relation data files are backed up incrementally, so records affecting other files and transaction-ID state do not require the proposed special handling #3.
- Noah agreed with that scope and concluded that the patch covered all relation-data mutations, identifying database file-copy creation and database dropping as the exceptional record types #4.
- Robert committed the original patchset #1 unchanged apart from rebasing as d75c4027b6, credited Noah's review, and closed the thread by announcing the commit #5; the suggested comment correction was not incorporated.