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

Commit2b13702

Browse files
committed
Fix typo in SP-GiST error message
Error message didn't match the actual check. Fix that. Compression of leafSP-GiST values was introduced in 11. So, backpatch.Discussion:https://postgr.es/m/20180810.100742.15469435.horiguchi.kyotaro%40lab.ntt.co.jpAuthor: Kyotaro HoriguchiBackpatch-through: 11
1 parente01d347 commit2b13702

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/backend/access/spgist/spgutils.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ spgGetCache(Relation index)
133133
if (!OidIsValid(index_getprocid(index,1,SPGIST_COMPRESS_PROC)))
134134
ereport(ERROR,
135135
(errcode(ERRCODE_INVALID_PARAMETER_VALUE),
136-
errmsg("compress method mustnot defined when leaf type is different from input type")));
136+
errmsg("compress method mustbe defined when leaf type is different from input type")));
137137

138138
fillTypeDesc(&cache->attLeafType,cache->config.leafType);
139139
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp