Thread: bit strings

bit strings

From
"Andrew Bartley"
Date:
Hi all
 
Data base version PostgreSQL 7.2.1
 
Can some one tell me how much storage bit strings use.
 
eg.  create table x
       (
       a    BIT VARYING (8)
       );
 
Is the storage for this column 1 byte per row/tuple?
 
I note that a boolean data type uses 1 byte per column.
 
Thanks
 
Andrew