Re: Re: Call for platforms
От | Tom Lane |
---|---|
Тема | Re: Re: Call for platforms |
Дата | |
Msg-id | 16771.985757271@sss.pgh.pa.us обсуждение исходный текст |
Ответ на | Re: Re: Call for platforms (Tom Lane <tgl@sss.pgh.pa.us>) |
Ответы |
Re: Re: Call for platforms
|
Список | pgsql-hackers |
"Mark Knox" <segfault@hardline.org> writes: > { > BlockIdData ip_blkid; > OffsetNumber ip_posid; > +#ifdef __arm__ > +} __attribute__((packed)) ItemPointerData; > +#else > } > +#endif That would fix it for ARM but not for anyplace else with similar alignment behavior. Would you try this patch instead to see what happens? regards, tom lane *** src/backend/catalog/heap.c.orig Thu Mar 22 09:50:36 2001 --- src/backend/catalog/heap.c Wed Mar 28 00:24:45 2001 *************** *** 103,109 **** */ static FormData_pg_attribute a1 = { ! 0xffffffff, {"ctid"}, TIDOID, 0, sizeof(ItemPointerData), SelfItemPointerAttributeNumber, 0, -1, -1, '\0', 'p','\0', 'i', '\0', '\0' }; --- 103,109 ---- */ static FormData_pg_attribute a1 = { ! 0xffffffff, {"ctid"}, TIDOID, 0, SizeOfIptrData, SelfItemPointerAttributeNumber, 0, -1, -1, '\0', 'p', '\0', 'i','\0', '\0' };
В списке pgsql-hackers по дате отправления: