Re: Simplifying Text Search - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Simplifying Text Search
Date
Msg-id 7279.1194886602@sss.pgh.pa.us
Whole thread Raw
In response to Simplifying Text Search  (Simon Riggs <simon@2ndquadrant.com>)
Responses Re: Simplifying Text Search
Re: Simplifying Text Search
List pgsql-hackers
Simon Riggs <simon@2ndquadrant.com> writes:
> So we end up with a normal sounding function that is overloaded to
> provide all of the various goodies.

As best I can tell, @@ does exactly this already.  This is just a
different spelling of the same capability, and I don't actually
find it better.  Why is "text_search(x,y)" better than "x @@ y"?
We don't recommend that people write "texteq(x,y)" instead of
"x = y".

> Sound good?

It's not an improvement, it's not compatible with what existing tsearch2
users are accustomed to, and it's several months too late...
        regards, tom lane


pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: [GENERAL] plperl and regexps with accented characters - incompatible?
Next
From: Magnus Hagander
Date:
Subject: Re: 8.2.3: Server crashes on Windows using Eclipse/Junit