Re: Re: Call for platforms

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Mark Knox" <segfault(at)hardline(dot)org>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Re: Call for platforms
Date: 2001-03-28 05:27:51
Message-ID: 16771.985757271@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

"Mark Knox" <segfault(at)hardline(dot)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'
};

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2001-03-28 05:32:54 Re: Feature Request: ALTER FUNCTION (or something like that)
Previous Message Brian Baquiran 2001-03-28 05:24:45