We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 661781f commit 8021c77Copy full SHA for 8021c77
src/backend/utils/cache/lsyscache.c
@@ -750,7 +750,7 @@ equality_ops_are_compatible(Oid opno1, Oid opno2)
750
* they belong to the same family.)
751
*
752
* (This is identical to equality_ops_are_compatible(), except that we check
753
- * amcanorder plus amconsistentordering instead of amconsistentequality.)
+ * amconsistentordering instead of amconsistentequality.)
754
*/
755
bool
756
comparison_ops_are_compatible(Oid opno1, Oid opno2)
@@ -782,7 +782,7 @@ comparison_ops_are_compatible(Oid opno1, Oid opno2)
782
{
783
IndexAmRoutine *amroutine = GetIndexAmRoutineByAmId(op_form->amopmethod, false);
784
785
- if (amroutine->amcanorder && amroutine->amconsistentordering)
+ if (amroutine->amconsistentordering)
786
787
result = true;
788
break;
0 commit comments