>>>>> "PG" == PG Bug reporting form <noreply(at)postgresql(dot)org> writes:
PG> Encapsulating crosstab_hash in a function (to define its return
PG> type) does not work when the (user-defined) return type owns
PG> 'dropped' attributes.
Yeah. The code to generate tuples doesn't make any attempt to handle
dropped columns in the result. This is nothing to do with
CreateTupleDescCopy.
I guess this has always been broken; there's no evidence that the code
ever made any attempt to handle it. I'll see about fixing it.
--
Andrew (irc:RhodiumToad)