mirror of
https://github.com/postgres/postgres.git
synced 2025-06-11 20:28:21 +03:00
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:
@ -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;
|
||||
|
Reference in New Issue
Block a user