Re: switch UNLOGGED to LOGGED

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: switch UNLOGGED to LOGGED
Дата
Msg-id BANLkTinAg06kK3yrOWA0w1LrPpgP3v22Tw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: switch UNLOGGED to LOGGED  (Leonardo Francalanci <m_lists@yahoo.it>)
Список 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


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: crash-safe visibility map, take five
Следующее
От: Robert Haas
Дата:
Сообщение: Re: "stored procedures" - use cases?