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

From Thomas Hallgren
Subject Re: charset/collation in values
Date
Msg-id 418635F2.8060706@mailblocks.com
Whole thread Raw
In response to charset/collation in values  (Dennis Bjorklund <db@zigo.dhs.org>)
Responses Re: charset/collation in values  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Dennis Bjorklund wrote:
> I've looked into storing charset/collation in the string values. This
> means that we change varchar/text/BpChar to be structures that have a
> charset oid field and a collation oid field, the rest of the Datum is the
> string data.
> 
I think the number of charset/collation combinations will be relatively 
few so perhaps it would be space efficient to maintain a table where 
each combination is given an oid and have string values store that 
rather than two separate oid's?

Regards,
Thomas Hallgren



pgsql-hackers by date:

Previous
From: Thomas Hallgren
Date:
Subject: Re: Problems using pgxs on Win32
Next
From: Neil Conway
Date:
Subject: GiST memory allocation