model-writtenrun 5527 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Leslie Lemaire reported that pg_event_trigger_ddl_commands() omitted operator families implicitly created by CREATE OPERATOR CLASS on PostgreSQL 10 and 14, and Alvaro Herrera agreed that the extra object should be reported #1 #2.
- Masahiko Sawada traced the omission to CreateOpFamily() and supplied a patch that collects the family command there, prevents duplicate collection for explicit creation, and tests that both family and class are reported #3.
- Michael Paquier requested removal of a redundant argument and correction of test-comment typos, while Amit Kapila endorsed the fix and backpatching; Alvaro incorporated those changes and used makeNode() for the synthetic statement, after which Michael accepted the revision #4 #5 #6 #7.
- Testing exposed failures on PostgreSQL 10–13 because those branches lacked the event trigger responsible for the expected notices; Masahiko identified the missing infrastructure, and Alvaro chose to add it rather than discard the expected output #8 #9 #10.
- Alvaro posted a separate prerequisite that adapted existing tests originally authored by Michael Paquier, catching an internal exception from a bug fixed only in PostgreSQL 14; this preserved coverage while allowing the operator-family fix to reach PostgreSQL 10 #11.
- The test prerequisite landed as fa51cc86c6 from #11, with branch-specific expected-output adaptation, followed by the unchanged revised operator-family fix from #6 as 6029861916.
- Michael and Masahiko endorsed the completed backpatching work after both commits had landed; the thread ended with the fix backpatched through PostgreSQL 10 and no outstanding patch revisions #12 #13.