]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Stabilize contrib/seg regression test.
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 7 Jun 2021 18:52:42 +0000 (14:52 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 7 Jun 2021 18:53:11 +0000 (14:53 -0400)
commit20e36c6d203463af5bd678d10459f61ad9047b95
tree72979a9ba9bdca6b8f4e20726a5d7bf1b1376cb4
parent89a5499ef9e477beb97d742d4df6fc8f601d87d5
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.
contrib/seg/expected/seg.out
contrib/seg/sql/seg.sql