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 1jtJR1-0004Bp-3d for pgsql-hackers@arkaria.postgresql.org; Wed, 08 Jul 2020 23:25:03 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jtJQy-00065h-HT for pgsql-hackers@arkaria.postgresql.org; Wed, 08 Jul 2020 23:25:00 +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 1jtJQy-00065a-AJ for pgsql-hackers@lists.postgresql.org; Wed, 08 Jul 2020 23:25:00 +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 1jtJQr-0004Kb-BN for pgsql-hackers@lists.postgresql.org; Wed, 08 Jul 2020 23:24:59 +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 068NOoiL1738876; Wed, 8 Jul 2020 19:24:50 -0400 From: Tom Lane To: Alvaro Herrera cc: pgbf@twiska.com, Kyotaro Horiguchi , masao.fujii@oss.nttdata.com, pgsql-hackers@lists.postgresql.org Subject: Re: min_safe_lsn column in pg_replication_slots view In-reply-to: <20200708230757.GA28114@alvherre.pgsql> References: <20200708230757.GA28114@alvherre.pgsql> Comments: In-reply-to Alvaro Herrera message dated "Wed, 08 Jul 2020 19:07:57 -0400" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1738874.1594250690.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Wed, 08 Jul 2020 19:24:50 -0400 Message-ID: <1738875.1594250690@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Alvaro Herrera writes: > On 2020-Jul-08, Tom Lane wrote: >> The buildfarm's sparc64 members seem unhappy with this. > Hmm. Some of them are, yeah, but it's not universal. For example > mussurana and ibisbill are not showing failures. Ah, right, I was thinking they hadn't run since this commit, but they have. > Anyway the error is pretty strange: only GetWALAvailability is showing a > problem, but the size calculation in the view function def is returning > a negative number, as expected. We've previously noted what seem to be compiler optimization bugs on both sparc32 and sparc64; the latest thread about that is https://www.postgresql.org/message-id/flat/f28f842d-e82b-4e30-a81a-2a1f9fa= 4a8e1%40www.fastmail.com This is looking uncomfortably like the same thing. Tom, could you experiment with different -O levels on those animals? regards, tom lane