Field count in a RECORD variable - plpgsql - Mailing list pgsql-general

From Mike Preston
Subject Field count in a RECORD variable - plpgsql
Date
Msg-id s2242861.020@mail.mosscodilis.com
Whole thread Raw
Responses Re: Field count in a RECORD variable - plpgsql
List pgsql-general
I am building a generic crosstab function in plpgsql, where I can pass in a SQL statement and return back the data pivoted with the values of one column serving as headers of the return columns.  If I use a RECORD variable to scroll through the data, is there a way for me to tell the number of fields returned by the SQL statement parameter?
 
thanks in advance for any suggestions,
Mike

pgsql-general by date:

Previous
From: Ioannis Theoharis
Date:
Subject: Re: Index size
Next
From: Vitaly Belman
Date:
Subject: Re: Backupping the table values