Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search archives
  Advanced Search

Re: Compare strings which resembles each other


  • From: Christoph Haller <ch(at)rodos(dot)fzk(dot)de>
  • To: gulshan(dot)babajee(at)parabolemaurice(dot)com (Gulshan Babajee)
  • Cc: pgsql-sql(at)postgresql(dot)org
  • Subject: Re: Compare strings which resembles each other
  • Date: Fri, 21 Nov 2003 15:22:57 MET
  • Message-id: <200311211422.PAA13790@rodos> <text/plain>

> 
> 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 




Home | Main Index | Thread Index

Privacy Policy | About PostgreSQL
Copyright © 1996 – 2012 PostgreSQL Global Development Group