]> git.ipfire.org Git - thirdparty/postgresql.git/commitdiff
Fix contrib/seg regression test in v11.
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 8 Jun 2021 14:57:39 +0000 (10:57 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 8 Jun 2021 14:57:39 +0000 (10:57 -0400)
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

contrib/seg/expected/seg_1.out

index 48abb65bb0c38fe58b87b247a982370fe18316fb..d4832d73ee6460932a1b88b441e35ba6ca262521 100644 (file)
@@ -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';