Skip to content
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

Logged queries for PGSql range operators mangles operators #2024

Closed
NSMustache opened this issue Aug 4, 2022 · 0 comments · Fixed by #2025
Closed

Logged queries for PGSql range operators mangles operators #2024

NSMustache opened this issue Aug 4, 2022 · 0 comments · Fixed by #2025

Comments

@NSMustache
Copy link
Contributor

Using the range operators for set inclusion such as tsrange @> timestamp in a query results in the logged SQL to display @> as @ >

ex: the mangled display

SELECT
    *
from
    foo
WHERE
    foo.time_range @ > now()::timestamp
NSMustache added a commit to NSMustache/sqlx that referenced this issue Aug 4, 2022
abonander pushed a commit that referenced this issue Aug 8, 2022
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 a pull request may close this issue.

1 participant