Re: Proposal: PageLayout footprint

Поиск
Список
Период
Сортировка
От Heikki Linnakangas
Тема Re: Proposal: PageLayout footprint
Дата
Msg-id 48A024E1.4090509@enterprisedb.com
обсуждение исходный текст
Ответ на Re: Proposal: PageLayout footprint  (Zdenek Kotala <Zdenek.Kotala@Sun.COM>)
Ответы Re: Proposal: PageLayout footprint  (Zdenek Kotala <Zdenek.Kotala@Sun.COM>)
Список pgsql-hackers
Zdenek Kotala wrote:
> By my opinion -fipa-struct-reorg GCC option could break structure.

That option would probably break a lot of things. Like our 
"variable-sized array as last field of a struct" hacks.

> And 
> maybe there are more compiler magic switches and optimization on 
> different platforms which can modify structure alignment or member 
> order. It probably does not happen often but footprint should protect 
> people to shot himself.

We depend on a certain member order and alignment rules. If we're 
worried about that, we should add checks in configure instead, to barf 
if you try to use such options.

--   Heikki Linnakangas  EnterpriseDB   http://www.enterprisedb.com


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

Предыдущее
От: "Pavel Stehule"
Дата:
Сообщение: Re: Multiple anyelement types
Следующее
От: Gregory Stark
Дата:
Сообщение: Re: Proposal: PageLayout footprint