Skip to content

Conversation

@psteinroe
Copy link
Collaborator

@psteinroe psteinroe commented Aug 9, 2024

this pr rewrites the statement splitter so that it passes through all postgres regression tests.

closes #135

todos:

  • introduce Repeated syntax definition to parse CTEs and UNION etc better
  • add support for multiline comments in the tests (and check if the parser properly parses them too)
  • make the tracker return false by default if a position reached the end of the definition and by that, require an AnyTokens to be the last in every definition. this will make the TABLE my_table syntax work much better
  • dont skip any regression tests anymore

@psteinroe psteinroe changed the title fix: rewrite statement splitter wip fix: rewrite statement splitter Aug 10, 2024
@psteinroe psteinroe closed this Jun 10, 2025
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.

Improve Statement Splitter

2 participants