From: | Robert Haas <robertmhaas(at)gmail(dot)com> |
---|---|
To: | Leonardo Francalanci <m_lists(at)yahoo(dot)it> |
Cc: | Alvaro Herrera <alvherre(at)commandprompt(dot)com>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: switch UNLOGGED to LOGGED |
Date: | 2011-05-10 12:49:12 |
Message-ID: | [email protected] |
Views: | Whole Thread | Raw Message | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Tue, May 10, 2011 at 8:03 AM, Leonardo Francalanci <m_lists(at)yahoo(dot)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
From | Date | Subject | |
---|---|---|---|
Next Message | Robert Haas | 2011-05-10 12:55:54 | Re: "stored procedures" - use cases? |
Previous Message | Robert Haas | 2011-05-10 12:48:32 | Re: crash-safe visibility map, take five |