Re: knngist - 0.8

Teodor Sigaev <teodor@sigaev.ru>

From: Teodor Sigaev <teodor@sigaev.ru>
To: Robert Haas <robertmhaas@gmail.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>, Oleg Bartunov <oleg@sai.msu.su>, Pgsql Hackers <pgsql-hackers@postgresql.org>
Date: 2010-10-19T15:43:31Z
Lists: pgsql-hackers
> combination of parameters is one that it can handle.  I'm thinking
> perhaps in lieu of a boolean, we can add another indexam method which,
> if not InvalidOid, gets called when we're wondering about whether a
> given clause is something that the index can order by.  Although
> knngist focuses on a the ORDER BY col OP constant case, which

Hmm, interesting idea. To be more general, amcanorder (without byop suffix) 
could be eliminated too.
-- 
Teodor Sigaev                                   E-mail: teodor@sigaev.ru
                                                    WWW: http://www.sigaev.ru/