pgsql: Fix bugs in polymorphic-argument resolution for multiranges.

2021-07-27 Thread Tom Lane
Fix bugs in polymorphic-argument resolution for multiranges. We failed to deal with an UNKNOWN-type input for anycompatiblemultirange; that should throw an error indicating that we don't know how to resolve the multirange type. We also failed to infer the type of an anycompatiblerange output from

pgsql: Fix bugs in polymorphic-argument resolution for multiranges.

2021-07-27 Thread Tom Lane
Fix bugs in polymorphic-argument resolution for multiranges. We failed to deal with an UNKNOWN-type input for anycompatiblemultirange; that should throw an error indicating that we don't know how to resolve the multirange type. We also failed to infer the type of an anycompatiblerange output from