model-writtenrun 1254 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Michael Paquier reported that adding columns through CREATE OR REPLACE VIEW collects the command twice for event triggers, once as a simple command and once through ALTER TABLE processing, while investigating his sequence access-method work #1.
- Paquier considered filtering out the duplicate collection but concluded that the existing behavior correctly represents the internal command structures and should be documented with tests #1.
- The attached patch tests both command representations in test_ddl_deparse and duplicate CREATE VIEW notices in event_trigger, also covering a CREATE VIEW embedded in CREATE SCHEMA #1.
- Paquier committed the patch unchanged as 9ef6381829, incorporating all tests from #1.
- Paquier closed the thread by confirming the tests had landed and noting that he had accidentally broken this behavior while experimenting in the area; no further work remained proposed in the thread #2.