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

From: "Vyacheslav Kalinin" <vka(at)mgcp(dot)com>
To: Decibel! <decibel(at)decibel(dot)org>
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:19:46
Message-ID: 9b1af80e0712061519t20f39c4bye1c55f0c7deb49cc@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

> It needs to store the number of bits present as well

Couldn't that be reduced to 1 byte that'd say how many bits count in the
last byte?

> Only in the sense that numeric also has to store some meta data as well
like
the weight and display precision.

Is it really necessary to store display precision when it can be taken from
the table column definition?

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Matthew Pulis 2007-12-06 23:28:28 Improving the timing of a query
Previous Message Gregory Stark 2007-12-06 23:10:33 Re: storage size of "bit" data type..