KNN GiST detects which type it should return by returning type of ordering
But it appears that type of sk_func is detected after it was replaced with
distance function. That is wrong: distance function should always return
I think it is just a typo.
Should be backpatched to 9.5.

Alexander Korotkov
Postgres Professional: http://www.postgrespro.com
The Russian Postgres Company

Attachment: fix-knn-gist-ordering-type.patch
Description: Binary data

Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:

Reply via email to