model-writtenrun 9623 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Mithun Cy reported that PostgreSQL 11 could not rewind a promoted standby after creating a database containing a table, although dry-run succeeded and PostgreSQL 10 worked #1.
- Michael Paquier traced the failure to target-side filtering leaving pg_internal.init inside a directory scheduled for deletion, and posted a fix removing that filtering while retaining the empty-directory sanity check instead of using recursive deletion #2.
- Michael expanded the comments and regression tests to create tables in new databases, with test helpers extended to connect to those databases #3.
- Mithun confirmed that the revised patch fixed both actual rewind and dry-run #4, and Michael planned to commit after further consideration of the logic #5.
- Michael committed the revised patch as a7eadaaaaf, with further comment polishing and a backpatch to PostgreSQL 11, then announced completion with no outstanding work identified #6.