Re: Re: Call for platforms

Поиск
Список
Период
Сортировка
От Mark Knox
Тема Re: Re: Call for platforms
Дата
Msg-id 3AC11802.21003.F2100@localhost
обсуждение исходный текст
Ответ на Re: Re: Call for platforms  ("Mark Knox" <segfault@hardline.org>)
Список pgsql-hackers
-----BEGIN PGP SIGNED MESSAGE-----

On 27 Mar 2001, at 20:49, Mark Knox wrote:

> > > I suspect it might be an alignment problem
> > 
> > Sort of.  I am suspicious that sizeof(ItemPointerData) is returning
> > 8 rather than 6 as one might expect.
> 
> Maybe it's padding the structure to a dword boundary? ARM is 
> notorious for such things.. I will rebuild it with 
> __attribute__((packed)) on the struct and see if the size changes..

Aha, progress! The packed directive gives attlen of 6 across the 
board! Type_sanity test passes now too, so the only failing 
regression test is geometry and that is easily dismissed. The 
variation is in the last decimal place and probably due to emulated 
floating point (ARM has no FPU).

The patch is attached.. it's tiny but seems to be effective.



-----BEGIN PGP SIGNATURE-----
Version: N/A

iQCVAwUBOsFeUv+IdJuhyV9xAQE2XAP9FF93ew+6Ml5iZ1jWjcGrs+3zaXIeWef6
SytNtIfyJqmcnyWnMaxBTlChIvBO5A2HVnBkCydM5BjUXdW1eWsEynrd+U79Yc+e
yVDGo30CK3lAkTLH3Fo6jR3YZe/TsIyr80WlDeqJiWvDmHTfqvo50jRiDq2h1OL/
LmI4YIQM0rQ=
=Vwwp
-----END PGP SIGNATURE-----


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

Предыдущее
От: Ryan Kirkpatrick
Дата:
Сообщение: Re: Re: Vaccuum Failure w/7.1beta4 on Linux/Sparc -- FALSE ALARM
Следующее
От: "Mark Knox"
Дата:
Сообщение: Re: Re: Call for platforms