Re: charset/collation in values - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: charset/collation in values
Date
Msg-id 200411021636.00552.peter_e@gmx.net
Whole thread Raw
In response to Re: charset/collation in values  (Dennis Bjorklund <db@zigo.dhs.org>)
Responses Re: charset/collation in values
List pgsql-hackers
Am Dienstag, 2. November 2004 13:15 schrieb Dennis Bjorklund:
> On Tue, 2 Nov 2004, Peter Eisentraut wrote:
> > A collation implies a character set, so you only need to store one piece
> > of information anyway.
>
> No, a collation implies a character repertoire like UCS (unicode), it can
> apply to several character sets like UTF8 and UTF16.

For the theoretical specification of a collation, it might suffice to know the 
character repertoire.  But I think in practice, the implementation of a 
collation will require knowing the specific character encoding.

-- 
Peter Eisentraut
http://developer.postgresql.org/~petere/


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: tablespaces for temporary files
Next
From: Peter Eisentraut
Date:
Subject: Re: charset/collation in values