Return unknown resultset from a function - Mailing list pgsql-general

How do I return an unknown resultset from a function

My main problem is that I do not know how many columns or the data type
of the columns before runtime.
It this possible at all?

I also tried to return the data as a text array but I also have trouble
with that.

Regards

Jan

pgsql-general by date:

Previous
From: David Johnston
Date:
Subject: Re: || versus concat( ), diff behavior
Next
From: Pavel Stehule
Date:
Subject: Re: Return unknown resultset from a function