"Mark Knox" <[EMAIL PROTECTED]> 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'
  };
  

---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]

Reply via email to