mirror of
https://github.com/postgres/postgres.git
synced 2025-07-31 22:04:40 +03:00
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
This commit is contained in:
@ -930,6 +930,7 @@ SELECT '1'::seg <@ '-1 .. 1'::seg AS bool;
|
|||||||
CREATE TABLE test_seg (s seg);
|
CREATE TABLE test_seg (s seg);
|
||||||
\copy test_seg from 'data/test_seg.data'
|
\copy test_seg from 'data/test_seg.data'
|
||||||
CREATE INDEX test_seg_ix ON test_seg USING gist (s);
|
CREATE INDEX test_seg_ix ON test_seg USING gist (s);
|
||||||
|
SET enable_indexscan = false;
|
||||||
EXPLAIN (COSTS OFF)
|
EXPLAIN (COSTS OFF)
|
||||||
SELECT count(*) FROM test_seg WHERE s @> '11..11.3';
|
SELECT count(*) FROM test_seg WHERE s @> '11..11.3';
|
||||||
QUERY PLAN
|
QUERY PLAN
|
||||||
@ -947,6 +948,7 @@ SELECT count(*) FROM test_seg WHERE s @> '11..11.3';
|
|||||||
143
|
143
|
||||||
(1 row)
|
(1 row)
|
||||||
|
|
||||||
|
RESET enable_indexscan;
|
||||||
SET enable_bitmapscan = false;
|
SET enable_bitmapscan = false;
|
||||||
EXPLAIN (COSTS OFF)
|
EXPLAIN (COSTS OFF)
|
||||||
SELECT count(*) FROM test_seg WHERE s @> '11..11.3';
|
SELECT count(*) FROM test_seg WHERE s @> '11..11.3';
|
||||||
|
Reference in New Issue
Block a user