Re: [PATCH] Phrase search ported to 9.6 - Mailing list pgsql-hackers

From Oleg Bartunov
Subject Re: [PATCH] Phrase search ported to 9.6
Date
Msg-id CAF4Au4whjNzPLyBhGTpTPQztc5ik3Mhu7mcWHsv_RESDYzwZUQ@mail.gmail.com
Whole thread Raw
In response to Re: [PATCH] Phrase search ported to 9.6  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: [PATCH] Phrase search ported to 9.6
List pgsql-hackers


On Fri, Apr 1, 2016 at 5:24 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
Alvaro Herrera <alvherre@2ndquadrant.com> writes:
> Teodor Sigaev wrote:
>> may be <=>? it isn't used anywhere yet.
>>
>> select 'fat'::tsquery <=> 'cat';
>> select 'fat <=> cat'::tsquery;
>> select 'fat <3> cat'::tsqyery; -- for non-default distance.

> Dunno.  That looks pretty "relationalish".

The existing precedent in the geometric types is to use <->
as an operator denoting distance.  Perhaps <-> amd <3>
would work here.


looks like we get consensus about arrows.
 
                        regards, tom lane

pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: [COMMITTERS] pgsql: Improve internationalization of messages involving type names
Next
From: Jim Nasby
Date:
Subject: Re: syntax sugar for conditional check