@@ -800,11 +800,11 @@ index_create(Relation heapRelation,
800
800
errmsg ("user-defined indexes on system catalog tables are not supported" )));
801
801
802
802
/*
803
- * Btree text_pattern_ops uses text_eq as the equality operator, which is
804
- * fine as long as the collation is deterministic; text_eq then reduces to
803
+ * Btree text_pattern_ops uses texteq as the equality operator, which is
804
+ * fine as long as the collation is deterministic; texteq then reduces to
805
805
* bitwise equality and so it is semantically compatible with the other
806
806
* operators and functions in that opclass. But with a nondeterministic
807
- * collation, text_eq could yield results that are incompatible with the
807
+ * collation, texteq could yield results that are incompatible with the
808
808
* actual behavior of the index (which is determined by the opclass's
809
809
* comparison function). We prevent such problems by refusing creation of
810
810
* an index with that opclass and a nondeterministic collation.
@@ -814,7 +814,7 @@ index_create(Relation heapRelation,
814
814
* opclasses as incompatible with nondeterminism; but for now, this small
815
815
* hack suffices.
816
816
*
817
- * Another solution is to use a special operator, not text_eq , as the
817
+ * Another solution is to use a special operator, not texteq , as the
818
818
* equality opclass member; but that is undesirable because it would
819
819
* prevent index usage in many queries that work fine today.
820
820
*/
0 commit comments