Add support for $$ in generic dialect ... (#1185)

This commit is contained in:
Marko Milenković 2024-03-24 18:20:15 +00:00 committed by GitHub
parent 6b03a259aa
commit 4472789171
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 2 deletions

View file

@ -3305,7 +3305,7 @@ fn parse_create_function() {
let sql = "CREATE OR REPLACE FUNCTION add(a INTEGER, IN b INTEGER = 1) RETURNS INTEGER LANGUAGE SQL IMMUTABLE RETURN a + b";
assert_eq!(
pg().verified_stmt(sql),
pg_and_generic().verified_stmt(sql),
Statement::CreateFunction {
or_replace: true,
temporary: false,