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

From Tatsuo Ishii
Subject Re: charset/collation in values
Date
Msg-id 20041102.072631.62373551.t-ishii@sra.co.jp
Whole thread Raw
In response to Re: charset/collation in values  (Dennis Bjorklund <db@zigo.dhs.org>)
Responses Re: charset/collation in values
Re: charset/collation in values
List pgsql-hackers
> On Mon, 1 Nov 2004, Tom Lane wrote:
> 
> > > 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?
> > 
> > In fact, we should do our best to get the overhead down to 1 or 2 bytes.
> > Two OIDs (8 bytes) is ridiculous.
> 
> Just to be clear, we don't want to store it on disk no matter what since
> it should be enough to store it once for each column. As a first solution
> we could store it just to keep it simple until we have tried it out.

Right. AFAIK nobody has proposed charsets/collations onto disk.
--
Tatsuo Ishii


pgsql-hackers by date:

Previous
From: Simon Riggs
Date:
Subject: Re: [PERFORM] [PATCHES] ARC Memory Usage analysis
Next
From: Thomas Hallgren
Date:
Subject: Re: charset/collation in values