Re: storage size of "bit" data type..

From: Decibel! <decibel(at)decibel(dot)org>
To: Gregory Stark <stark(at)enterprisedb(dot)com>
Cc: "Michael Glaesemann" <grzm(at)seespotcode(dot)net>, "Alex Mayrhofer" <axelm(at)nona(dot)net>, <pgsql-general(at)postgresql(dot)org>
Subject: Re: storage size of "bit" data type..
Date: 2007-12-06 23:35:13
Message-ID: 89C7452B-E92D-4FAF-8268-DD8FE55F0E4B@decibel.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)decibel(dot)org
Give your computer some brain candy! www.distributed.net Team #1828

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Chris Velevitch 2007-12-07 00:24:49 Re: Understanding how partial indexes work?
Previous Message Decibel! 2007-12-06 23:34:25 Re: storage size of "bit" data type..