Permalink
Browse files

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.
  • Loading branch information...
kgrittn committed Sep 11, 2013
1 parent f0e8693 commit a49d0b75ce41a5480777f0957d5119cb2f393414
Showing with 4 additions and 0 deletions.
  1. +1 −0 contrib/citext/expected/citext.out
  2. +1 −0 contrib/citext/expected/citext_1.out
  3. +2 −0 contrib/citext/sql/citext.sql
@@ -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;
@@ -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;
@@ -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;

0 comments on commit a49d0b7

Please sign in to comment.