-
Notifications
You must be signed in to change notification settings - Fork 616
Transaction support #106
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
Transaction support #106
Conversation
Thanks for the PR, @SamuelMarks. Transaction statements are a great addition! I have one rather large comment about the design of the new AST node, though. From a syntactic perspective, Would you be open to introducing separate Let me know if you'd like any help with the refactor! |
Great, thanks for the refactor! I've pushed some additional changes to support the various options that @nickolay, can I get your eyes on this when you have a minute? |
Pull Request Test Coverage Report for Build 317
💛 - Coveralls |
@benesch I trust your review, especially since I'm not familiar with transaction control syntax. I'd only like to remind that it might be helpful for the future work on dialects to explicitly mark the dialect-specific parts of the parser and the relevant tests. |
Co-authored-by: Samuel Marks <807580+SamuelMarks@users.noreply.github.com> Co-authored-by: Nikhil Benesch <nikhil.benesch@gmail.com>
Ok, great! Merging.
Sure thing. Perhaps surprisingly, the only dialect-specific bit here is that PostgreSQL allows omitting the commas between transaction modes. I'd previously only noted that in the test, but I've copied that comment to the parsing code too. |
Basic transaction support