Joe Conway <mail(at)joeconway(dot)com> writes:
> Tom Lane wrote:
>> That would mask the problem for ANALYZE, but not for anything else.
> 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().
That sounds more like a solution. Is there anyplace else we need to
push knowledge of this into? (Offhand I can't think of any, but ...)
regards, tom lane