Re: knngist - 0.8 - Mailing list pgsql-hackers

From Robert Haas
Subject Re: knngist - 0.8
Date
Msg-id AANLkTinrnxCJDOYiUkBd-yU0J-42_5TquQXCAr+KB4Hp@mail.gmail.com
Whole thread Raw
In response to Re: knngist - 0.8  (Alexander Korotkov <aekorotkov@gmail.com>)
Responses Re: knngist - 0.8  (Alexander Korotkov <aekorotkov@gmail.com>)
List pgsql-hackers
2010/7/29 Alexander Korotkov <aekorotkov@gmail.com>:
> But, in pg_trgm it makes it possible to combine different similarity levels
> in one query. For example:
> select * from test_trgm order by t <-> 'asdf' < 0.5 or t <-> 'qwer' < 0.4;
> Is there any chance to handle this syntax also?

Maybe I'm missing something, but I don't think that ORDER BY clause
makes much sense.  OR is going to reduce a true or false value - and
it's usually not that interesting to order by a column that can only
take one of two values.

Am I confused?

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise Postgres Company


pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: patch for check constraints using multiple inheritance
Next
From: Robert Haas
Date:
Subject: Re: (9.1) btree_gist support for searching on "not equals"