Re: switch UNLOGGED to LOGGED

Robert Haas <robertmhaas@gmail.com>

From: Robert Haas <robertmhaas@gmail.com>
To: Leonardo Francalanci <m_lists@yahoo.it>
Cc: Alvaro Herrera <alvherre@commandprompt.com>, pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2011-05-10T12:49:12Z
Lists: pgsql-hackers
On Tue, May 10, 2011 at 8:03 AM, Leonardo Francalanci <m_lists@yahoo.it> wrote:
>> I don't  think making xinfo shorter will save anything, because
>> whatever follows it is  going to be a 4-byte quantity and therefore
>> 4-byte aligned.
>
>
> ups, didn't notice it.
>
> I'll split    xinfo into:
>
> uint16   xinfo;
> uint16   presentFlags;
>
>
> I guess it helps with the reading? I mean, instead
> of having a single uint32?

My feeling would be just keep it as uint32.  Breaking it up into
chunks doesn't seem useful to me.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company