Re: create custom collation from case insensitive portuguese

Поиск
Список
Период
Сортировка
От Euler Taveira de Oliveira
Тема Re: create custom collation from case insensitive portuguese
Дата
Msg-id 4CD030FC.5000607@timbira.com
обсуждение исходный текст
Ответ на create custom collation from case insensitive portuguese  (Alexandre Riveira <alexandre@objectdata.com.br>)
Ответы Re: create custom collation from case insensitive portuguese  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
Alexandre Riveira escreveu:
> I've achieved some success in changing collate operating system (linux)
> to generate sort of way of Brazil Portuguese hopes by adding the
> following code in LC_COLLATE
> 
This was already discussed; search the archives [1] [2].

> So far, I understood the mechanism of change collate and reproduce in
> postgresql, and I could not generate a case-insensitive search, I
> believe that would change within the LC_COLLATE variable, but could not
> go any further than that.
> 
PostgreSQL doesn't support case-insensitive searches specifying the collate
per column yet. Look at [3]. But you could use ILIKE or regular expression to
achieve  that.


[1] http://pgfoundry.org/pipermail/brasil-usuarios/20060330/001667.html
[2] http://www.mail-archive.com/brasil-usuarios@pgfoundry.org/msg00895.html
[3] http://archives.postgresql.org/pgsql-hackers/2010-07/msg00512.php


--  Euler Taveira de Oliveira http://www.timbira.com/


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

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: Re: Tracking latest timeline in standby mode
Следующее
От: Peter Eisentraut
Дата:
Сообщение: ALTER TYPE recursion to typed tables