Re: storage size of "bit" data type.. - Mailing list pgsql-general

From Decibel!
Subject Re: storage size of "bit" data type..
Date
Msg-id 89C7452B-E92D-4FAF-8268-DD8FE55F0E4B@decibel.org
Whole thread Raw
In response to Re: storage size of "bit" data type..  (Gregory Stark <stark@enterprisedb.com>)
List pgsql-general
On Dec 6, 2007, at 5:10 PM, Gregory Stark wrote:
> It needs to store the number of bits present as well. Otherwise it
> wouldn't be
> able to tell apart B'1' and B'01' ... B'00000001'
...
> Only in the sense that numeric also has to store some meta data as
> well like
> the weight and display precision.


Hrm... perhaps that's another worthwhile target for the varvarlena
technique...
--
Decibel!, aka Jim C. Nasby, Database Architect  decibel@decibel.org
Give your computer some brain candy! www.distributed.net Team #1828



Attachment

pgsql-general by date:

Previous
From: Decibel!
Date:
Subject: Re: storage size of "bit" data type..
Next
From: "Chris Velevitch"
Date:
Subject: Re: Understanding how partial indexes work?