Search Postgresql Archives

Re: Single character bitfields

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Aug 20, 2008, at 7:56 PM, Joshua Drake wrote:

I have a large database and I want to have several fields (among many)
that are single character fields (in fact they are bitfields).

boolean?

Out of curiosity, does postgres collapse multiple boolean columns to a bitfield internally? In other words, I guess I assume a single boolean column will always take 1 byte of space... but if I have 8 boolean columns, will they all fit into that 1 byte?


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux