Skip site navigation (1) Skip section navigation (2)

Re: create custom collation from case insensitive portuguese

From: Euler Taveira de Oliveira <euler(at)timbira(dot)com>
To: Alexandre Riveira <alexandre(at)objectdata(dot)com(dot)br>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: create custom collation from case insensitive portuguese
Date: 2010-11-02 15:40:44
Message-ID: (view raw or whole thread)
Lists: 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.


  Euler Taveira de Oliveira

In response to


pgsql-hackers by date

Next:From: Peter EisentrautDate: 2010-11-02 16:15:38
Subject: ALTER TYPE recursion to typed tables
Previous:From: Heikki LinnakangasDate: 2010-11-02 15:08:44
Subject: Re: Tracking latest timeline in standby mode

Privacy Policy | About PostgreSQL
Copyright © 1996-2015 The PostgreSQL Global Development Group