Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue #357: refine postgresql batch statement splitting #358

Merged

Conversation

koenekelschot
Copy link
Contributor

@koenekelschot koenekelschot commented Aug 5, 2023

Refined the parsing of strings in order to support String Constants with C-Style Escapes and Dollar-Quoted String Constants (see https://www.postgresql.org/docs/15/sql-syntax-lexical.html).
Statements should not be split on ; within these constants.

Relates to #357

@koenekelschot koenekelschot changed the title Issue 357: refine postgresql batch statement splitting Issue #357: refine postgresql batch statement splitting Aug 5, 2023
@erikbra
Copy link
Owner

erikbra commented Aug 13, 2023

Thanks a lot, @koenekelschot! I have one more fix coming here, based on #357 (comment), but I'll merge that separately

@erikbra erikbra merged commit 2e3ddd4 into erikbra:main Aug 13, 2023
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants