pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Stabilize contrib/seg regression test.
Date: Mon, 07 Jun 2021 18:53:44 +0000
Message-ID: <E1lqKNc-0003fe-Gl@gemulon.postgresql.org> (raw)

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
------
REL_11_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/20e36c6d203463af5bd678d10459f61ad9047b95

Modified Files
--------------
contrib/seg/expected/seg.out | 2 ++
contrib/seg/sql/seg.sql      | 2 ++
2 files changed, 4 insertions(+)



view thread (6+ messages)  latest in thread

Message-ID: <E1lqKNc-0003fe-Gl@gemulon.postgresql.org>
Permalink:  ../E1lqKNc-0003fe-Gl@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1lqKNc-0003fe-Gl@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: tgl@sss.pgh.pa.us
  Subject: Re: pgsql: Stabilize contrib/seg regression test.
  In-Reply-To: <E1lqKNc-0003fe-Gl@gemulon.postgresql.org>
  References: <E1lqKNc-0003fe-Gl@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox