Re: KNNGiST for knn-search (WIP) - Mailing list pgsql-hackers

From Tom Lane
Subject Re: KNNGiST for knn-search (WIP)
Date
Msg-id 27610.1259336294@sss.pgh.pa.us
Whole thread Raw
In response to Re: KNNGiST for knn-search (WIP)  (Teodor Sigaev <teodor@sigaev.ru>)
Responses Re: KNNGiST for knn-search (WIP)
List pgsql-hackers
Teodor Sigaev <teodor@sigaev.ru> writes:
>> Planner (find_usable_indexes function, actually) could push pathkey 
>> expression into restriction clauses of index. I'm not fully satisfied 
>> with this piece of code, but, may be, someone has a better idea. I 
>> though about adding separate indexorderquals in IndexPath structure...

> Done, IndexScan and IndexPath have separate field to store order clauses.

Why?  Isn't that redundant with the pathkey structures?  We generate
enough paths during a complex planning problem that I'm not in favor
of adding unnecessary structures to them.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Teodor Sigaev
Date:
Subject: Re: KNNGiST for knn-search (WIP)
Next
From: Simon Riggs
Date:
Subject: Re: Hot Standby remaining issues