-
Notifications
You must be signed in to change notification settings - Fork 881
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
If `create_compress_chunk()` is called as part of a utility statement, a spurious printout will happen because `ts_alter_table_with_event_trigger()` uses a `List` node rather than a proper statement which causes `EventTriggerAlterTableEnd()` to not recognize the node and print out an error message. This is fixed by calling `AlterTableInternal` instead of `ts_alter_table_with_event_trigger()` for utility statements and make sure that `EventTriggerAlterTableStart()` and `EventTriggerAlterTableEnd()` are called for non-utility statements calling `create_compress_chunk()` with a dummy statement.
- Loading branch information
Showing
3 changed files
with
31 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters