Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1g789C-0005Z4-Om for pgsql-hackers@arkaria.postgresql.org; Tue, 02 Oct 2018 00:02:42 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1g789A-0000oV-Ho for pgsql-hackers@arkaria.postgresql.org; Tue, 02 Oct 2018 00:02:40 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1g789A-0000oM-AX for pgsql-hackers@lists.postgresql.org; Tue, 02 Oct 2018 00:02:40 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1g7898-00051o-Aq for pgsql-hackers@lists.postgresql.org; Tue, 02 Oct 2018 00:02:39 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id w9201s1h004695; Mon, 1 Oct 2018 20:01:54 -0400 From: Tom Lane To: Thomas Munro cc: Amit Kapila , PostgreSQL Hackers , Heikki Linnakangas Subject: Re: SerializeParamList vs machines with strict alignment In-reply-to: References: <11629.1536550032@sss.pgh.pa.us> <8352.1536586500@sss.pgh.pa.us> <27748.1538425312@sss.pgh.pa.us> <28627.1538426947@sss.pgh.pa.us> Comments: In-reply-to Thomas Munro message dated "Tue, 02 Oct 2018 11:47:48 +1300" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <4693.1538438514.1@sss.pgh.pa.us> Date: Mon, 01 Oct 2018 20:01:54 -0400 Message-ID: <4694.1538438514@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Thomas Munro writes: > On Tue, Oct 2, 2018 at 9:49 AM Tom Lane wrote: >> Apparently the only somewhat-modern architecture that is resolutely >> unaligned-unfriendly is MIPS. > It's been a few years now since I worked on that architecture, but > Sparc is somewhat-modern and resolutely unaligned-unfriendly. It's > just that you can optionally install a trap handler that will do super > slow non-atomic misaligned access in software instead of blowing up > with SIGBUS. With the Sun toolchain you did that explicitly by > building with -misalign (though it's possible that more recent > compilers might be doing that without being asked?). Interesting ... I suppose we'd have seen that on the Sparc critters, except that they weren't running with force_parallel_mode = regress like chipmunk is. Now I'm tempted to propose that Amit commit *just* the test case and not the fix, and wait a day to see which buildfarm critters fail. regards, tom lane