Re: Compare strings which resembles each other - Mailing list pgsql-sql

From Christoph Haller
Subject Re: Compare strings which resembles each other
Date
Msg-id 200311211422.PAA13790@rodos
Whole thread Raw
In response to Compare strings which resembles each other  (Gulshan Babajee <gulshan.babajee@parabolemaurice.com>)
Responses Re: Compare strings which resembles each other
List pgsql-sql
> 
> Hy, I have a table containing some rows. Each row contains a field name
> which is of type String.
> 
> For example:
> in row1 string1 is "Adieu Poulet",
> in row2 string2 is "Adieu a Poulet",
> in row3 string3 is "Adiue Poulet",
> in row4 string4 is "Adieu Pouleet", etc..
> (That is each string resembles each other a bit, they are somewhat similar
> to each other)
> 
> What type of query should I make so as it return me all these string. That
> is I watn a query which return me strings which are similar or somewhat
> similar to each other.
> 
> thanks in advance
> gulshan
> 
$PGSQLD/contrib/tsearch/README.tsearch 
is your friend. 

Regards, Christoph 



pgsql-sql by date:

Previous
From: Christoph Haller
Date:
Subject: Re: Need another way to do this, my sql much to slow...
Next
From: Oleg Bartunov
Date:
Subject: Re: Compare strings which resembles each other