File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -750,7 +750,7 @@ equality_ops_are_compatible(Oid opno1, Oid opno2)
750
750
* they belong to the same family.)
751
751
*
752
752
* (This is identical to equality_ops_are_compatible(), except that we check
753
- * amcanorder plus amconsistentordering instead of amconsistentequality.)
753
+ * amconsistentordering instead of amconsistentequality.)
754
754
*/
755
755
bool
756
756
comparison_ops_are_compatible (Oid opno1 , Oid opno2 )
@@ -782,7 +782,7 @@ comparison_ops_are_compatible(Oid opno1, Oid opno2)
782
782
{
783
783
IndexAmRoutine * amroutine = GetIndexAmRoutineByAmId (op_form -> amopmethod , false);
784
784
785
- if (amroutine -> amcanorder && amroutine -> amconsistentordering )
785
+ if (amroutine -> amconsistentordering )
786
786
{
787
787
result = true;
788
788
break ;
You can’t perform that action at this time.
0 commit comments