Skip to content

Commit 0fa474c

Browse files
Switched from pg() to pg_and_generic()
1 parent aa7c97b commit 0fa474c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/sqlparser_postgres.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6797,7 +6797,7 @@ fn parse_drop_operator() {
67976797
}
67986798
);
67996799
assert_eq!(
6800-
pg().verified_stmt(&sql),
6800+
pg_and_generic().verified_stmt(&sql),
68016801
Statement::DropOperator(DropOperator {
68026802
if_exists: if_exist,
68036803
operators: vec![DropOperatorSignature {
@@ -6815,7 +6815,7 @@ fn parse_drop_operator() {
68156815
// Test DROP OPERATOR with schema-qualified operator name
68166816
let sql = "DROP OPERATOR myschema.@@ (TEXT, TEXT)";
68176817
assert_eq!(
6818-
pg().verified_stmt(sql),
6818+
pg_and_generic().verified_stmt(sql),
68196819
Statement::DropOperator(DropOperator {
68206820
if_exists: false,
68216821
operators: vec![DropOperatorSignature {
@@ -6830,7 +6830,7 @@ fn parse_drop_operator() {
68306830
// Test DROP OPERATOR with multiple operators, IF EXISTS and CASCADE
68316831
let sql = "DROP OPERATOR IF EXISTS + (INTEGER, INTEGER), - (INTEGER, INTEGER) CASCADE";
68326832
assert_eq!(
6833-
pg().verified_stmt(sql),
6833+
pg_and_generic().verified_stmt(sql),
68346834
Statement::DropOperator(DropOperator {
68356835
if_exists: true,
68366836
operators: vec![

0 commit comments

Comments
 (0)