Skip to content

Commit d37a3a7

Browse files
Test ALTER VIEW name error
1 parent b96df8d commit d37a3a7

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎tests/sqlparser_postgres.rs‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11792,6 +11792,7 @@ fn parse_alter_view_postgres() {
1179211792
);
1179311793

1179411794
for (sql, expected) in [
11795+
("ALTER VIEW 123", "Expected: identifier, found: 123"),
1179511796
("ALTER VIEW v SET ()", "Expected: identifier, found: )"),
1179611797
("ALTER VIEW IF v OWNER TO o", "Expected: AS, found: v"),
1179711798
("ALTER VIEW v RESET (a = 1)", "Expected: ), found: ="),

0 commit comments

Comments
 (0)