Re: Accent insensitive search?

Поиск
Список
Период
Сортировка
От Thomas Kellerer
Тема Re: Accent insensitive search?
Дата
Msg-id gprb8r$tmj$1@ger.gmane.org
обсуждение исходный текст
Ответ на Re: Accent insensitive search?  (Sam Mason <sam@samason.me.uk>)
Список pgsql-general
Sam Mason wrote on 18.03.2009 18:15:
> On Wed, Mar 18, 2009 at 04:29:24PM -0000, cifroes wrote:
>> I have a DB in utf-8 and postgres 8.3.x.
>>
>> How can I do an accent insensitive search (like ...) ?
>
> No good idea at the moment; I'd somehow expect to find this sort of
> normalization in the functionality provided by the "text search" code.
> My reasoning being that searching for a word should find it if you're
> being accurate or lazy with your accents.  I've not been able to coax it
> into doing anything reliable though.
>
> If you can't find anything better in PG; the translate[1] function would
> be my best suggestion.  Performance should be better than using regular
> expressions.
>
Are you aware of any plans to add accent-insesitive collations to PG?

Would be great if PG offered a similar flexibility here as other databases.

Thomas

В списке pgsql-general по дате отправления:

Предыдущее
От: John R Pierce
Дата:
Сообщение: Re: Accent insensitive search?
Следующее
От: "Will Rutherdale (rutherw)"
Дата:
Сообщение: Re: DBD::Pg's $dbh->func( "/path/to/file", 'lo_import' ) fails silently