Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commita49d0b7

Browse files
committed
Create index on srt table in citext regression tests.
Comments and the tests make clear that the intent is to test withand without an index, but there was no index.
1 parentf0e8693 commita49d0b7

File tree

3 files changed

+4
-0
lines changed

3 files changed

+4
-0
lines changed

‎contrib/citext/expected/citext.out

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff 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.
329330
set enable_seqscan = off;
330331
SELECT MIN(name) AS "AAA" FROM srt;

‎contrib/citext/expected/citext_1.out

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff 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.
329330
set enable_seqscan = off;
330331
SELECT MIN(name) AS "AAA" FROM srt;

‎contrib/citext/sql/citext.sql

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,8 @@ VALUES ('aardvark'),
127127
('ABC'),
128128
('abd');
129129

130+
CREATEINDEXsrt_nameON srt (name);
131+
130132
-- Check the min() and max() aggregates, with and without index.
131133
set enable_seqscan= off;
132134
SELECTMIN(name)AS"AAA"FROM srt;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp