Re: Seaching without accents - Mailing list pgsql-hackers

From Euler Taveira de Oliveira
Subject Re: Seaching without accents
Date
Msg-id 20040203154009.314cbaf8.euler@ufgnet.ufg.br
Whole thread Raw
In response to Seaching without accents  ("Augusto Cesar Castoldi" <castoldi@npd.ufsc.br>)
List pgsql-hackers
Hi Augusto,

> How can I configure postgreSQL to search without acents?
> Is PostgreSQL have this support?
>
There isn't a specific function in postgresql. Maybe you could implement it in PL/Perl or any other PL/* language.

> SELECT * FROM test WHERE name LIKE _tes%_
>
> And it should return values _tést, test_
>
It's not a good idea to use _ to replace accents 'cause it would match undesirable expressions like tost, tist, tust,
txst,etc. 


--
Euler Taveira de Oliveira
euler (at) ufgnet.ufg.br
Desenvolvedor Web e Administrador de Sistemas
UFGNet - Universidade Federal de Goiás


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: pg_restore bug in 7.4.1 ?
Next
From: Andrew Dunstan
Date:
Subject: Re: [PATCHES] log session end - again