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

From Tatsuo Ishii
Subject Re: charset/collation in values
Date
Msg-id 20041102.215354.45519473.t-ishii@sra.co.jp
Whole thread Raw
In response to Re: charset/collation in values  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: charset/collation in values
List pgsql-hackers
> Am Montag, 1. November 2004 07:41 schrieb Dennis Bjorklund:
> > For each type we need to have convertion functions to and from strings.
> > Any suggestion of how to represent these as strings now when it's a string
> > plus two oid's? This is a though one..
> 
> A collation implies a character set, so you only need to store one piece of 
> information anyway.

In my understanding the relation between charset and collation is
1:N. Thus storing only a collation is sufficient to determine the
charset. However a charset cannot determine a collation.
--
Tatsuo Ishii


pgsql-hackers by date:

Previous
From: "Magnus Hagander"
Date:
Subject: Re: [PATCHES] Open Items
Next
From: "Zeugswetter Andreas DAZ SD"
Date:
Subject: Re: [PATCHES] Open Items