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

Commitfb341a7

Browse files
author
Amit Kapila
committed
Fix oversight in commit4429f6a.
The test name and the following test cases suggest the index createdshould be hash index, but it forgot to add 'using hash' in the test case.This in itself won't improve code coverage as there were some other testswhich were covering the corresponding code. However, it is better if theadded tests serve their actual purpose.Reported-by: Paul A JungwirthAuthor: Paul A JungwirthReviewed-by: Mahendra SinghBackpatch-through: 9.4Discussion:https://postgr.es/m/CA+renyV=Us-5XfMC25bNp-uWSj39XgHHmGE9Rh2cQKMegSj52g@mail.gmail.com
1 parentd10475a commitfb341a7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

‎src/test/regress/expected/rangetypes.out

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -519,7 +519,7 @@ select numrange(1.0, 2.0) * numrange(2.5, 3.0);
519519
(1 row)
520520

521521
create table numrange_test2(nr numrange);
522-
create index numrange_test2_hash_idx on numrange_test2 (nr);
522+
create index numrange_test2_hash_idx on numrange_test2using hash(nr);
523523
INSERT INTO numrange_test2 VALUES('[, 5)');
524524
INSERT INTO numrange_test2 VALUES(numrange(1.1, 2.2));
525525
INSERT INTO numrange_test2 VALUES(numrange(1.1, 2.2));

‎src/test/regress/sql/rangetypes.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ select numrange(1.0, 2.0) * numrange(1.5, 3.0);
119119
select numrange(1.0,2.0)* numrange(2.5,3.0);
120120

121121
createtablenumrange_test2(nr numrange);
122-
createindexnumrange_test2_hash_idxon numrange_test2 (nr);
122+
createindexnumrange_test2_hash_idxon numrange_test2using hash(nr);
123123

124124
INSERT INTO numrange_test2VALUES('[, 5)');
125125
INSERT INTO numrange_test2VALUES(numrange(1.1,2.2));

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp