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

From Vyacheslav Kalinin
Subject Re: storage size of "bit" data type..
Date
Msg-id 9b1af80e0712061519t20f39c4bye1c55f0c7deb49cc@mail.gmail.com
Whole thread Raw
In response to Re: storage size of "bit" data type..  (Decibel! <decibel@decibel.org>)
List 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?

pgsql-general by date:

Previous
From: "Andrus"
Date:
Subject: Why autovacuum in not running
Next
From: Matthew Pulis
Date:
Subject: Improving the timing of a query