-
Notifications
You must be signed in to change notification settings - Fork 20
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
Can't select with a primitive #6
Comments
Hmmm. Do you have a normal index on the column in question? I'm slightly confused, as this works correctly. Can you try
As an alternative,
will operate as a identity search (equivalent to |
It happens both when there's only the bktree index and when there's a regular index as well |
And yeah, the alternative with distance 0 is what I've been using |
What happens with the explicit cast? |
|
Ok, weird. The BK tree both provides Also:
Did you add a normal B-Tree index, and then |
If adding a normal index and |
Oh, cool, I'm running Postgres 11.5 by the way. |
Ok, so it's more of a planning issue, then. I'm not sure why the query planner thinks this index can handle |
I am affected by this as well. But everything i try doesn't seem to convince the planner to use any other index than the bk one :( |
I thought I would mention that I experience this exact same error. It does appear to be fixed for now when I use <@ instead of =. |
When I try to run a simple query:
I get this error:
The text was updated successfully, but these errors were encountered: