Stabilize contrib/seg regression test.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: eed17f39fa3e6c15e62ba8c4227118f506288a30
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2021-06-07T18:52:56Z
Releases: 13.4
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.

Files

PathChange+/−
contrib/seg/expected/seg.out modified +2 −0
contrib/seg/sql/seg.sql modified +2 −0