We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7aaa839 commit 2f20af6Copy full SHA for 2f20af6
1 file changed
tests/sqlparser_postgres.rs
@@ -520,6 +520,8 @@ fn parse_infix_after_parenthesized_column_option() {
520
pg().verified_stmt("CREATE TABLE t (c TEXT DEFAULT (foo())::INT::TEXT)");
521
// Other infix operators
522
pg().verified_stmt("CREATE TABLE t (c INT DEFAULT (foo()) + 1)");
523
+ // Cast with NOT NULL constraint
524
+ pg().verified_stmt("CREATE TABLE t (c TEXT DEFAULT (foo())::TEXT NOT NULL)");
525
}
526
527
#[test]
0 commit comments