Re: [pg_trgm] Making similarity(?, ?) < ? use an index

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Jeff Janes <jeff(dot)janes(at)gmail(dot)com>
Cc: Greg Navis <contact(at)gregnavis(dot)com>, Artur Zakirov <a(dot)zakirov(at)postgrespro(dot)ru>, "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>, "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: [pg_trgm] Making similarity(?, ?) < ? use an index
Date: 2016-06-10 17:37:29
Message-ID: 17952.1465580249@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Jeff Janes <jeff(dot)janes(at)gmail(dot)com> writes:
> On Fri, Jun 10, 2016 at 9:20 AM, Jeff Janes <jeff(dot)janes(at)gmail(dot)com> wrote:
>> I think you should pick a new operator name, not try to reuse %.

> On second thought, it could use overloading distinguished with
> different argument types, so it doesn't need a different name, but I
> don't know if it is a good idea to use that overloading.

I would vote for overloading; there's no risk of confusion that I can see.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Rakesh Kumar 2016-06-10 18:12:23 BDR
Previous Message Joshua D. Drake 2016-06-10 17:31:44 Re: What is the general opinion on use of tablespaces