Re: similarity() result for two trigram-less strings

From: Josh Berkus <josh(at)agliodbs(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: similarity() result for two trigram-less strings
Date: 2013-02-12 19:17:50
Message-ID: 511A955E.8060002@agliodbs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


> Although I can see a case for returning 1, I'm inclined to think that
> returning 0 is a better idea. Thoughts?

Intuitively, I'd expect 0.

--
Josh Berkus
PostgreSQL Experts Inc.
http://pgexperts.com

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message David E. Wheeler 2013-02-12 19:18:38 JSON Function Bike Shedding
Previous Message Tom Lane 2013-02-12 19:04:39 similarity() result for two trigram-less strings