Seaching without accents - Mailing list pgsql-hackers

From Augusto Cesar Castoldi
Subject Seaching without accents
Date
Msg-id 001201c3e9e3$2b0bfdc0$b709a296@npd.ufsc.br
Whole thread Raw
Responses Re: Seaching without accents
Re: Seaching without accents
List pgsql-hackers
How can I configure postgreSQL to search without acents?

Is PostgreSQL have this support?

I configured my locale to pt_BR, that support acents, create table with
enconding "latin1", but nothing works. I know that I can use function
"TO_ASCII", and "select like "t_s%".

Like:

Table “test”
Clumns: name , values:
Test
Test
tést
Tést


SELECT * FROM test WHERE name LIKE “tes%”

And it should return values “tést, test”

Thanks,

Augusto



pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: [PATCHES] log session end - again
Next
From: Bruce Momjian
Date:
Subject: Re: [PATCHES] log session end - again