Re: create custom collation from case insensitive portuguese
От | Robert Haas |
---|---|
Тема | Re: create custom collation from case insensitive portuguese |
Дата | |
Msg-id | AANLkTi=hYYHp5GH+4SLf5WwmwHAVUG7=uudgJYYpauy7@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: create custom collation from case insensitive portuguese (Euler Taveira de Oliveira <euler@timbira.com>) |
Ответы |
Re: create custom collation from case insensitive portuguese
|
Список | pgsql-hackers |
On Tue, Nov 2, 2010 at 8:40 AM, Euler Taveira de Oliveira <euler@timbira.com> wrote: > 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. Is citext also useful for this? -- Robert Haas EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company
В списке pgsql-hackers по дате отправления: