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 1lTFB7-0003UE-Ux for pgsql-committers@arkaria.postgresql.org; Mon, 05 Apr 2021 02:41:25 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lTFB6-0002Hn-Bw for pgsql-committers@arkaria.postgresql.org; Mon, 05 Apr 2021 02:41:24 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lTFB6-0002Hg-6e for pgsql-committers@lists.postgresql.org; Mon, 05 Apr 2021 02:41:24 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lTFB2-0005tI-2v for pgsql-committers@lists.postgresql.org; Mon, 05 Apr 2021 02:41:23 +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 1352fFA1468279; Sun, 4 Apr 2021 22:41:15 -0400 From: Tom Lane To: Michael Paquier cc: pgsql-committers@lists.postgresql.org Subject: Re: pgsql: Fix confusion in SP-GiST between attribute type and leaf storage In-reply-to: References: Comments: In-reply-to Michael Paquier message dated "Mon, 05 Apr 2021 11:27:39 +0900" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <468277.1617590475.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Sun, 04 Apr 2021 22:41:15 -0400 Message-ID: <468278.1617590475@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Michael Paquier writes: > On Sun, Apr 04, 2021 at 06:29:09PM +0000, Tom Lane wrote: >> Fix confusion in SP-GiST between attribute type and leaf storage type. > anole, woodstar and some other animals have been failing after this > commit: > https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=3Danole&dt=3D202= 1-04-04%2021%3A36%3A54 Yeah, I believe that's fixed. All the big-endian animals were unhappy, because they noticed a datatype mismatch in a way that little-endians did not. (Basically, interpreting a fixed-width box value as varlena yields a data value length that accidentally works okay on little-endian, but on big-endian it looks like a huge width and you soon go OOM.) I was able to reproduce it locally on a spare PPC Mac, so I'm pretty confident that dfc843d fixes it. Takes a while for these old dinosaurs to report in, though. regards, tom lane