Bernd Helmle <mailings(at)oopsware(dot)de> writes:
> I've used above function to construct OpExpr expressions with equality
> operators in the past, but it seems it was removed and there's no
> replacement for it?
Look at get_sort_group_operators() instead. Or use the type cache
directly.
regards, tom lane