Return unknown resultset from a function

From: Jan Meyland Andersen <jma(at)agile(dot)dk>
To: pgsql-general(at)postgresql(dot)org
Subject: Return unknown resultset from a function
Date: 2012-03-04 19:52:18
Message-ID: 4F53C7F2.1040003@agile.dk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Pavel Stehule 2012-03-04 19:57:13 Re: Return unknown resultset from a function
Previous Message David Johnston 2012-03-04 18:44:34 Re: || versus concat( ), diff behavior