pgSQL, executing generic query - Mailing list pgsql-sql

From Alessandro Busato
Subject pgSQL, executing generic query
Date
Msg-id 436657B7.80705@elettra.trieste.it
Whole thread Raw
List pgsql-sql
Hi,
I should to write a function which has one text parameter ;
throught this parameter a query will be passed to the function;
in the function the query will be executed and the result put in the 
record type;
the problem is:
how can I to get the columns value if the query is not defined a priori?
i.e. I can't use the contruct "record".fieldname

I've searched everywhere but nothing.
is it possible with pgSQL? have you any suggest?

Thanks,
Alessandro


pgsql-sql by date:

Previous
From: Daryl Richter
Date:
Subject: Re: Fwd: Re: Referencing
Next
From: Axel Rau
Date:
Subject: Poor performance in inet << cidr join