model-writtenrun 5494 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Mary Xu reported that a newly created extension was invisible to catalog lookups inside OAT_POST_CREATE, unlike triggers, and submitted a command-counter increment plus visibility tests while also suggesting documentation as an alternative #1.
- Robert Haas explained that post-create hooks have inconsistent command-counter timing and suggested SnapshotSelf; Jeff Davis questioned the objections to adding an increment and called for clearer documentation and tests #2 #3.
- Robert Haas warned that hook-dependent increments would make DDL behavior difficult to test and recommended documenting the inconsistency; Tom Lane agreed about testability and semantic risks, while questioning whether performance was a substantial obstacle #4 #5 #6 #7.
- Jeff Davis later observed that uniformly moving post-create hooks after an increment could complicate sharing extension code with post-alter hooks, favoring explicit snapshot selection; Mary Xu subsequently offered to revise her patch to increment unconditionally and requested guidance #8 #9.
- Jeff Davis committed a clarification that OAT_POST_CREATE may run before or after a command-counter increment and that SnapshotSelf can retrieve the new tuple bb44a6ba48; he explained that no consensus supported changing behavior and left Mary Xu the choice of closing the CommitFest entry or keeping the behavioral question open #10.