rmrodriguez@carto.com writes:
> This commit is breaking some Postgis tests with custom types.
Hm, yeah, the code fails to consider the possibility that the function
returns a composite type.
For the moment I'm just going to make it punt if the function result
class isn't TYPEFUNC_SCALAR. In principle, if we have a composite
result, we could disassemble it into per-column constant values, but
I'm not sure it'd be worth the work.
regards, tom lane