"Thomas Hallgren" <thhal(at)mailblocks(dot)com> writes:
> I'm trying to use a function that returns a complex type. I have no problem
> creating the function but when I try to use it I get the message:
> ERROR: function in FROM has unsupported return type
AFAICS it's not possible to get that message for a function returning a
composite type. You'd better show exactly what you did.
regards, tom lane