Skip to content

PostgreSQL: parse ALTER TRIGGER RENAME TO and DEPENDS ON EXTENSION - #2430

Open
LucaCappelletti94 wants to merge 1 commit into
apache:mainfrom
LucaCappelletti94:pg-alter-trigger
Open

PostgreSQL: parse ALTER TRIGGER RENAME TO and DEPENDS ON EXTENSION#2430
LucaCappelletti94 wants to merge 1 commit into
apache:mainfrom
LucaCappelletti94:pg-alter-trigger

Conversation

@LucaCappelletti94

Copy link
Copy Markdown
Contributor

ALTER TRIGGER tr ON t RENAME TO tq did not parse in any dialect, because TRIGGER was not among the object types parse_alter accepted.

PostgreSQL's grammar has exactly two forms, so AlterTriggerOperation covers RENAME TO and [ NO ] DEPENDS ON EXTENSION, the second reusing the shape AlterFunctionOperation::DependsOnExtension already provides for that same clause.

@LucaCappelletti94
LucaCappelletti94 marked this pull request as ready for review August 5, 2026 15:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant