-
Notifications
You must be signed in to change notification settings - Fork 605
Inconsistent handling of Postgres infix operators #816
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
Comments
@joocer, the operator handling is quite faulty right now for two reasons:
The fact that we try to do all parsing together makes it hard to handle specific logic properly. As I commented on #814, I would love to review a new implementation, but I can work directly on that. It is too much, and for now, I only plan on working on the following:
Besides that, I can't guarantee anything for the next month, at least considering the pacing I'm taking. Sorry about that. |
Thanks @AugustoFKL, rather than two issues that touch on each other, I suggest this one be closed off, it looks like michael-2956 is probably in a better position to progress as I'm not much of a rust developer (I'm using this library in Python via SqlOxide). |
@joocer lovely to know! Thanks for the information; it makes me wanna work even more here to support everyone using this!! Promise you that the precedence will be fixed within the next month, even if @michael-2956 doesn't work on this. |
There appear to be some Postgres operators which are supported in the base dialect and some that are only supported in the Postgres dialect, but I'm not able to work out why from looking at the code. See below, it looks like
>>
is in Postgres and Generic, but~
is everywhere.Is this a bug in the implementation (should tilde be only applicable to Postgres / ShiftRight be available to all) or is there a missing comment as to why this distinction exists?
The text was updated successfully, but these errors were encountered: