File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -6274,7 +6274,7 @@ impl<'a> Parser<'a> {
62746274 self . expect_keyword ( Keyword :: WITH ) ?;
62756275 let table_name = self . parse_object_name ( false ) ?;
62766276 AlterTableOperation :: SwapWith { table_name }
6277- } else if dialect_of ! ( self is PostgreSqlDialect )
6277+ } else if dialect_of ! ( self is PostgreSqlDialect | GenericDialect )
62786278 && self . parse_keywords ( & [ Keyword :: OWNER , Keyword :: TO ] )
62796279 {
62806280 let next_token = self . next_token ( ) ;
Original file line number Diff line number Diff line change @@ -765,7 +765,7 @@ fn parse_alter_table_owner_to() {
765765 ] ;
766766
767767 for case in test_cases {
768- match pg ( ) . verified_stmt ( case. sql ) {
768+ match pg_and_generic ( ) . verified_stmt ( case. sql ) {
769769 Statement :: AlterTable {
770770 name,
771771 if_exists : _,
You can’t perform that action at this time.
0 commit comments