Re: Seaching without accents

From: "scott(dot)marlowe" <scott(dot)marlowe(at)ihs(dot)com>
To: Augusto Cesar Castoldi <castoldi(at)npd(dot)ufsc(dot)br>
Cc: <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Seaching without accents
Date: 2004-02-02 23:51:40
Message-ID: Pine.LNX.4.33.0402021651120.20659-100000@css120.ihs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Mon, 2 Feb 2004, Augusto Cesar Castoldi wrote:

> 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

Did you run initdb with --locale=pt_BR

??? It's got to be done at initdb time, after that it's too late to
change it.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message scott.marlowe 2004-02-02 23:52:33 Re: Idea about better configuration options for sort memory
Previous Message Andrew Dunstan 2004-02-02 23:48:06 Re: [PATCHES] log session end - again