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> {
6274
6274
self . expect_keyword ( Keyword :: WITH ) ?;
6275
6275
let table_name = self . parse_object_name ( false ) ?;
6276
6276
AlterTableOperation :: SwapWith { table_name }
6277
- } else if dialect_of ! ( self is PostgreSqlDialect )
6277
+ } else if dialect_of ! ( self is PostgreSqlDialect | GenericDialect )
6278
6278
&& self . parse_keywords ( & [ Keyword :: OWNER , Keyword :: TO ] )
6279
6279
{
6280
6280
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() {
765
765
] ;
766
766
767
767
for case in test_cases {
768
- match pg ( ) . verified_stmt ( case. sql ) {
768
+ match pg_and_generic ( ) . verified_stmt ( case. sql ) {
769
769
Statement :: AlterTable {
770
770
name,
771
771
if_exists : _,
You can’t perform that action at this time.
0 commit comments