Back to “log LSN on DROP TABLE”
Fix correctness and coverage of recovery landmarks for destructive DDL.
The group returned to commit-LSN logging for DROP TABLE and related destructive DDL, using several AI agents to review and repair the revived patch. They rejected an extension split, found that the hook exposed the end rather than the start of the commit record, and revised the code to log the precise recovery boundary without a concurrency race. After considering restore points and event triggers as alternatives, they audited documentation and an end-to-end restore test, then prepared a PostgreSQL-style commit message, a new pgsql-hackers revision, and CI for the fork.
[timecodes · 10]
- Reviving commit-LSN logging for destructive DDL
- Asking AI for a broader architectural review
- Concrete bugs, missing tests, and CommitFest plans
- Core feature versus extension design
- B-tree page-merge and wait-coverage updates
- Finding the wrong commit-record LSN boundary
- Reviewing the repaired patch and documentation
- Restore points and event triggers as alternatives
- End-to-end recovery test and patch readiness
- Commit message, pgsql-hackers email, and CI
direct mapping