Create index on srt table in citext regression tests.

Comments and the tests make clear that the intent is to test with
and without an index, but there was no index.
This commit is contained in:
Kevin Grittner 2013-09-11 16:53:23 -05:00
parent f0e86930dd
commit a49d0b75ce
3 changed files with 4 additions and 0 deletions

View File

@ -325,6 +325,7 @@ VALUES ('aardvark'),
('aba'),
('ABC'),
('abd');
CREATE INDEX srt_name ON srt (name);
-- Check the min() and max() aggregates, with and without index.
set enable_seqscan = off;
SELECT MIN(name) AS "AAA" FROM srt;

View File

@ -325,6 +325,7 @@ VALUES ('aardvark'),
('aba'),
('ABC'),
('abd');
CREATE INDEX srt_name ON srt (name);
-- Check the min() and max() aggregates, with and without index.
set enable_seqscan = off;
SELECT MIN(name) AS "AAA" FROM srt;

View File

@ -127,6 +127,8 @@ VALUES ('aardvark'),
('ABC'),
('abd');
CREATE INDEX srt_name ON srt (name);
-- Check the min() and max() aggregates, with and without index.
set enable_seqscan = off;
SELECT MIN(name) AS "AAA" FROM srt;