Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o8bEc-0006rZ-VH for pgsql-hackers@arkaria.postgresql.org; Tue, 05 Jul 2022 05:36:30 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1o8bEb-00051n-QP for pgsql-hackers@arkaria.postgresql.org; Tue, 05 Jul 2022 05:36:29 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o8bEb-00051W-HT for pgsql-hackers@lists.postgresql.org; Tue, 05 Jul 2022 05:36:29 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o8bEZ-0002pu-FA for pgsql-hackers@postgresql.org; Tue, 05 Jul 2022 05:36:28 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 2655aOZE1834813; Tue, 5 Jul 2022 01:36:24 -0400 From: Tom Lane To: Andres Freund cc: Noah Misch , pgsql-hackers@postgresql.org Subject: Re: AIX support - alignment issues In-reply-to: <20220705053150.tgr5vuiq6olnx7g2@awork3.anarazel.de> References: <20220702183354.a6uhja35wta7agew@alap3.anarazel.de> <20220705053150.tgr5vuiq6olnx7g2@awork3.anarazel.de> Comments: In-reply-to Andres Freund message dated "Mon, 04 Jul 2022 22:31:50 -0700" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1834811.1656999384.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Tue, 05 Jul 2022 01:36:24 -0400 Message-ID: <1834812.1656999384@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Andres Freund writes: > I just thought an easier way - why don't we introduce a 'catalog_double' > that's defined to be pg_attribute_aligned(whatever-we-need) on AIX? Then= we > can get rid of the manually enforced alignedness and we don't need to co= ntort > catalog order. Hm, do all the AIX compilers we care about have support for that? If so, it seems like a great idea. regards, tom lane