From: Tom Lane Date: Tue, 8 Jun 2021 14:57:39 +0000 (-0400) Subject: Fix contrib/seg regression test in v11. X-Git-Tag: REL_11_13~118 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9c3844bbcad96179b2f0ffb34e87e762f116d303;p=thirdparty%2Fpostgresql.git Fix contrib/seg regression test in v11. In 20e36c6d2, I neglected to update seg_1.out (which doesn't exist in newer branches). Per buildfarm, via Andrew Dunstan. Discussion: https://postgr.es/m/7611b36f-7d57-5234-ad68-7d25a81e0f13@dunslane.net --- diff --git a/contrib/seg/expected/seg_1.out b/contrib/seg/expected/seg_1.out index 48abb65bb0c..d4832d73ee6 100644 --- a/contrib/seg/expected/seg_1.out +++ b/contrib/seg/expected/seg_1.out @@ -930,6 +930,7 @@ SELECT '1'::seg <@ '-1 .. 1'::seg AS bool; CREATE TABLE test_seg (s seg); \copy test_seg from 'data/test_seg.data' CREATE INDEX test_seg_ix ON test_seg USING gist (s); +SET enable_indexscan = false; EXPLAIN (COSTS OFF) SELECT count(*) FROM test_seg WHERE s @> '11..11.3'; QUERY PLAN @@ -947,6 +948,7 @@ SELECT count(*) FROM test_seg WHERE s @> '11..11.3'; 143 (1 row) +RESET enable_indexscan; SET enable_bitmapscan = false; EXPLAIN (COSTS OFF) SELECT count(*) FROM test_seg WHERE s @> '11..11.3';