Hi list
I've been down a rabbit hole today trying to understand what exactly makes
a type a valid candidate for an ANYARRAY function argument (e.g., something
you can 'unnest()').
My reading has led me across such functions as 'get_promoted_array_type',
'IsTrueArrayType', 'can_coerce_type', and '
> Per the comments for check_generic_type_consistency:
>
> * 2) All arguments declared ANYARRAY must have the same datatype,
> *which must be a varlena array type.
>
This must be exactly the bit that I missed during my reading - thanks!
> It has to not only have an element type, but hav