Re: charset/collation in values

From: Thomas Hallgren <thhal(at)mailblocks(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: charset/collation in values
Date: 2004-11-01 13:11:14
Message-ID: 418635F2.8060706@mailblocks.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Neil Conway 2004-11-01 14:32:45 GiST memory allocation
Previous Message Thomas Hallgren 2004-11-01 12:40:12 Re: Problems using pgxs on Win32