Re: WIP patch: Collation support

From: Martijn van Oosterhout <kleptog(at)svana(dot)org>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: Radek Strnad <radek(dot)strnad(at)gmail(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: WIP patch: Collation support
Date: 2008-09-02 12:00:08
Message-ID: 20080902120008.GE3664@svana.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, Sep 02, 2008 at 02:50:47PM +0300, Peter Eisentraut wrote:
> Radek Strnad wrote:
> >- new collations can be defined with command CREATE COLLATION <collation
> >name> FOR <character set specification> FROM <existing collation name>
> >[STRCOLFN <fn name>]
> >[ <pad characteristic> ] [ <case sensitive> ] [ LCCOLLATE <lc_collate> ]
> >[ LCCTYPE <lc_ctype> ]
>
> How do you plan to make a collation case sensitive or accent sensitive?
> I have previously commented that this is not a realistic view on how
> collations work. Since you are apparently planning to use the system
> locales, I don't see how you can make this work.

While it's true POSIX locales don't handle this, other collation
libraries do and we should support them if the user wants.

Have a nice day,
--
Martijn van Oosterhout <kleptog(at)svana(dot)org> http://svana.org/kleptog/
> Please line up in a tree and maintain the heap invariant while
> boarding. Thank you for flying nlogn airlines.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Radek Strnad 2008-09-02 12:02:42 Re: WIP patch: Collation support
Previous Message Peter Eisentraut 2008-09-02 11:59:37 Re: TODO item: Implement Boyer-Moore searching (First time hacker)