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

Commit3abbd8d

Browse files
committed
Fix accidental use of = instead of ==
Fix for commit630f9a4. It used = instead of ==. The resultwould be an incorrect error message.Author: Jacob Brazeal <jacob.brazeal@gmail.com>Reviewed-by: Michael Paquier <michael@paquier.xyz>Discussion:https://www.postgresql.org/message-id/flat/CA%2BCOZaC-JMbhQ4O0Q8V1Bxa0R%2BNex_RN9D6UyuLPiEx_CK4Heg%40mail.gmail.com
1 parentf011acd commit3abbd8d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/backend/commands/indexcmds.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2472,7 +2472,7 @@ GetOperatorFromCompareType(Oid opclass, Oid rhstype, CompareType cmptype,
24722472
if (*strat==InvalidStrategy)
24732473
ereport(ERROR,
24742474
errcode(ERRCODE_UNDEFINED_OBJECT),
2475-
cmptype=COMPARE_EQ ?errmsg("could not identify an equality operator for type %s",format_type_be(opcintype)) :
2475+
cmptype==COMPARE_EQ ?errmsg("could not identify an equality operator for type %s",format_type_be(opcintype)) :
24762476
cmptype==COMPARE_OVERLAP ?errmsg("could not identify an overlaps operator for type %s",format_type_be(opcintype)) :
24772477
cmptype==COMPARE_CONTAINED_BY ?errmsg("could not identify a contained-by operator for type %s",format_type_be(opcintype)) :0,
24782478
errdetail("Could not translate compare type %d for operator family \"%s\", input type %s, access method \"%s\".",

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp