Create index on srt table in citext regression tests.
authorKevin Grittner <[email protected]>
Wed, 11 Sep 2013 21:53:23 +0000 (16:53 -0500)
committerKevin Grittner <[email protected]>
Wed, 11 Sep 2013 21:53:23 +0000 (16:53 -0500)
Comments and the tests make clear that the intent is to test with
and without an index, but there was no index.

contrib/citext/expected/citext.out
contrib/citext/expected/citext_1.out
contrib/citext/sql/citext.sql

index 000c9256422051cafaea5e5e5c9d363a6819626c..a6265d857dc0dfa3eaaec43ffb2d5e6daba06f49 100644 (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;
index 8373dc88469d7580a1f0b76440fdee885fc63b5a..36342be7c1da0c6163e2fbc8bcaff932592a14ff 100644 (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;
index 07497401a4d123e12c6ce168ab781573e40b9651..65ef05b931267fad61432ca9c7caf2553d3d75b6 100644 (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;