Re: Re: Call for platforms

From: "Mark Knox" <segfault(at)hardline(dot)org>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Re: Call for platforms
Date: 2001-03-28 03:45:22
Message-ID: 3AC11802.21003.F2100@localhost
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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-----

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Joel Burton 2001-03-28 03:55:45 Re: Feature Request: ALTER FUNCTION (or something like that)
Previous Message Ryan Kirkpatrick 2001-03-28 03:32:02 Re: Re: Vaccuum Failure w/7.1beta4 on Linux/Sparc -- FALSE ALARM