Tom Lane wrote:
> That would mask the problem for ANALYZE, but not for anything else.
>
> Whether there is anything else I'm not sure, but I can't say I feel
> comfortable about that answer.
>
What if we modify equality_oper() and friends to do the check for us
when argtype is a varlena array?
If an array type is checked for an ordering operator, its element type
now *must* have an ordering operator in order for the result to be
meaningful. Same goes for ordering_oper().
Joe