On Mon, Aug 14, 2017 at 10:35 PM, Alexander Korotkov <aekorotkov@gmail.com> wrote:
Should we instead use logic similar to select_common_type() and underlying functions?
I created a new adaptation of select_common_type() called select_common_type_2args(Oid oprleft, Oid oprright) that takes two Oids and returns the appropriate supertype.
The new function passes all the old coercion regress tests included in the original patch written by Marco.