Skip to content

Commit 94b4c59

Browse files
committed
Fix the regression once more
1 parent d902de2 commit 94b4c59

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/parser.pegjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -198,10 +198,10 @@ inner_program
198198
});
199199
}
200200

201-
// BigQuery allows transactions inside BEGIN..END blocks, Postgres doesn't allow it.
201+
// PostgreSQL allows no transactions inside BEGIN..END blocks
202202
inner_program_statement
203203
= &postgres x:non_transaction_statement { return x; }
204-
/ &bigquery x:statement { return x; }
204+
/ !postgres x:statement { return x; }
205205
/ &postgres x:return_stmt { return x; }
206206

207207
/**

0 commit comments

Comments
 (0)