Skip to content

Conversation

mastercactapus
Copy link
Member

Description:
The SplitQuery function wrongly assumed $$ was the only possible block delimiter, when it can be a user-defined tag like $foobar$

This PR fixes the bug and adds a test case for the more complex case.

More info:
https://www.postgresql.org/docs/16/sql-syntax-lexical.html#SQL-SYNTAX-DOLLAR-QUOTING

@mastercactapus mastercactapus merged commit f814183 into master Mar 27, 2024
@mastercactapus mastercactapus deleted the fix-splitquery-blocks branch March 27, 2024 20:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants