Re: Fix misaligned access of ItemPointerData on ARM

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Piotr Stefaniak <postgres(at)piotr-stefaniak(dot)me>
Cc: Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Fix misaligned access of ItemPointerData on ARM
Date: 2015-05-21 21:12:29
Message-ID: 14433.1432242749@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Piotr Stefaniak <postgres(at)piotr-stefaniak(dot)me> writes:
> On 05/21/2015 10:08 PM, Tom Lane wrote:
>> It's not clear to me whether all compilers that accept "packed" also
>> accept "aligned", but there are enough ARM machines in the buildfarm
>> that we could hope that we'll find out if this isn't portable.

> I think src/include/c.h:614 onward, in its current state, guarantees that?

Well, c.h *assumes* that. One of the things I have in mind is that
this should help us find out whether that assumption is valid.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2015-05-21 21:22:57 Re: Fix misaligned access of ItemPointerData on ARM
Previous Message Piotr Stefaniak 2015-05-21 21:06:40 Re: Fix misaligned access of ItemPointerData on ARM