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

ltree query not supported #537

Open
fyepi opened this issue Feb 9, 2025 · 0 comments
Open

ltree query not supported #537

fyepi opened this issue Feb 9, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@fyepi
Copy link

fyepi commented Feb 9, 2025

Describe the issue

ltree syntan path ~ '1.*' not supported

Vapor version

not used

Operating system and version

ubuntu 22.04

Swift version

6

Steps to reproduce

I have a table with a column path of type ltree.

This legitimate query in psql:

SELECT id, commented_by, path::text, create_date from comment where id = 1 OR ( path ~ '1.*' )::boolean order by id desc offset 0 limit 30;

is not supported by postges-nio.

Error is thrown:

[File: "bool.c", Severity: "ERROR", Routine: "boolin", Message: "invalid input syntax for type boolean: \"path ~ \'1.*\'\"", Line: "151", Localized Severity: "ERROR", Code: "22P02"]

Ltree support is pretty critical to us. If there a way to get ltree working?

Thanks

Outcome

No response

Additional notes

No response

@fyepi fyepi added the bug Something isn't working label Feb 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant