pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Emi Lu <emilu@encs.concordia.ca>
To: pgsql-sql@postgresql.org
Subject: Fuzzy match under PostgreSQL 8.0.15
Date: Mon, 16 Nov 2009 16:16:58 -0500
Message-ID: <4B01C14A.5080203@encs.concordia.ca> (raw)

Good afternoon,

Under PostgreSQL 8.0.15, what is the good function to do the Fuzzy match 
between two strings?

For example,
(1) 'abcddd' vs. 'abc'
     probably returns 3

(2) 'abcddd' vs. 'ab'
     probably returns 4

I am looking for functions that could compare how two strings are 
similar to each other.

thanks a lot!

-- 
Lu Ying



Message-ID: <4B01C14A.5080203@encs.concordia.ca>
Permalink:  ../4B01C14A.5080203@encs.concordia.ca/
Also on:    postgresql.org/message-id/4B01C14A.5080203@encs.concordia.ca

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: emilu@encs.concordia.ca
  Subject: Re: Fuzzy match under PostgreSQL 8.0.15
  In-Reply-To: <4B01C14A.5080203@encs.concordia.ca>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox