Re: Per-column collation - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: Per-column collation
Date
Msg-id 1289940964.31200.39.camel@vanquo.pezone.net
Whole thread Raw
In response to Re: Per-column collation  (Pavel Stehule <pavel.stehule@gmail.com>)
List pgsql-hackers
On tis, 2010-11-16 at 21:40 +0100, Pavel Stehule wrote:
> ok, then we should to define this alias manually
> 
> some like - CREATE COLLATE "czech" FOR LOCALE "cs_CZ.UTF8"
> 
> or some similar. Without this, the application or stored procedures
> can be non portable between UNIX and WIN.

Yes, such a command will be provided.  You can already do it manually.

> Peter, now initdb check relation between encoding and locale - and
> this check is portable. Can we use this code?

Hmm, not really, but something similar, I suppose.  Only that the
mapping list would be much longer and more volatile.




pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: GiST insert algorithm rewrite
Next
From: Tom Lane
Date:
Subject: Re: unlogged tables