File tree Expand file tree Collapse file tree 3 files changed +4
-0
lines changed
Expand file tree Collapse file tree 3 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -325,6 +325,7 @@ VALUES ('aardvark'),
325325 ('aba'),
326326 ('ABC'),
327327 ('abd');
328+ CREATE INDEX srt_name ON srt (name);
328329-- Check the min() and max() aggregates, with and without index.
329330set enable_seqscan = off;
330331SELECT MIN(name) AS "AAA" FROM srt;
Original file line number Diff line number Diff line change @@ -325,6 +325,7 @@ VALUES ('aardvark'),
325325 ('aba'),
326326 ('ABC'),
327327 ('abd');
328+ CREATE INDEX srt_name ON srt (name);
328329-- Check the min() and max() aggregates, with and without index.
329330set enable_seqscan = off;
330331SELECT MIN(name) AS "AAA" FROM srt;
Original file line number Diff line number Diff line change @@ -127,6 +127,8 @@ VALUES ('aardvark'),
127127 (' ABC' ),
128128 (' abd' );
129129
130+ CREATE INDEX srt_name ON srt (name);
131+
130132-- Check the min() and max() aggregates, with and without index.
131133set enable_seqscan = off;
132134SELECT MIN (name) AS " AAA" FROM srt;
You can’t perform that action at this time.
0 commit comments