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 1lqanF-0007W8-6u for pgsql-committers@arkaria.postgresql.org; Tue, 08 Jun 2021 12:25:17 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lqanC-0005TQ-O4 for pgsql-committers@arkaria.postgresql.org; Tue, 08 Jun 2021 12:25:14 +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 1lqanC-0005TI-If for pgsql-committers@lists.postgresql.org; Tue, 08 Jun 2021 12:25:14 +0000 Received: from relay9-d.mail.gandi.net ([217.70.183.199]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lqan9-0000US-VQ for pgsql-committers@lists.postgresql.org; Tue, 08 Jun 2021 12:25:13 +0000 Received: (Authenticated sender: adsend@dunslane.net) by relay9-d.mail.gandi.net (Postfix) with ESMTPSA id CC9E8FF802; Tue, 8 Jun 2021 12:25:07 +0000 (UTC) Subject: Re: pgsql: Stabilize contrib/seg regression test. To: Tom Lane , pgsql-committers@lists.postgresql.org References: From: Andrew Dunstan Message-ID: <7611b36f-7d57-5234-ad68-7d25a81e0f13@dunslane.net> Date: Tue, 8 Jun 2021 08:25:05 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Content-Language: en-US List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 6/7/21 2:53 PM, Tom Lane wrote: > Stabilize contrib/seg regression test. > > If autovacuum comes along just after we fill table test_seg with > some data, it will update the stats to the point where we prefer > a plain indexscan over a bitmap scan, breaking the expected > output (as well as the point of the test case). To fix, just > force a bitmap scan to be chosen here. > > This has evidently been wrong since commit de1d042f5. It's not > clear why we just recently saw any buildfarm failures due to it; > but prairiedog has failed twice on this test in the past week. > Hence, backpatch to v11 where this test case came in. > > Branch > ------ > master > > Details > ------- > https://git.postgresql.org/pg/commitdiff/d16ebfbff74b30c83a4669a1df318cacfa7e52ca > > Modified Files > -------------- > contrib/seg/expected/seg.out | 2 ++ > contrib/seg/sql/seg.sql | 2 ++ > 2 files changed, 4 insertions(+) Looks like you forgot seg_1.out cheers andrew -- Andrew Dunstan EDB: https://www.enterprisedb.com