You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am attempting to add support for the Postgres END/COMMIT semantics.
The logic is quite simple, but END is never parsed because the break is hit first.
A bit lost as to how to approach changing this logic.
The text was updated successfully, but these errors were encountered:
I've run into an interesting conundrum.
In PostgreSQL,
END
is a synonym forCOMMIT
.END is currently not supported. Parsing an END statement returns nothing.
One wrinkle is that
Keyword::END
is used as a statement delimiter inparse_statements
.https://github.com/sqlparser-rs/sqlparser-rs/blob/main/src/parser/mod.rs#L423
I am attempting to add support for the Postgres
END/COMMIT
semantics.The logic is quite simple, but
END
is never parsed because the break is hit first.A bit lost as to how to approach changing this logic.
The text was updated successfully, but these errors were encountered: