pgsql: Fix up handling of nondeterministic collations with pattern_ops

2019-09-21 Thread Tom Lane
Fix up handling of nondeterministic collations with pattern_ops opclasses. text_pattern_ops and its siblings can't be used with nondeterministic collations, because they use the text_eq operator which will not behave as bitwise equality if applied with a nondeterministic collation. The initial im

pgsql: Fix up handling of nondeterministic collations with pattern_ops

2019-09-21 Thread Tom Lane
Fix up handling of nondeterministic collations with pattern_ops opclasses. text_pattern_ops and its siblings can't be used with nondeterministic collations, because they use the text_eq operator which will not behave as bitwise equality if applied with a nondeterministic collation. The initial im