On Mon, 2009-06-22 at 05:26 -0700, Dario Teixeira wrote:
> Is there some way to find out meta-information about the columns generated
> by any SELECT query?
How are you talking to the database ? ODBC? JDBC? LibPQ? Something else?
Or do you want this from within PL/PgSQL ?
You'll usually find that this information is most easily obtained via
your client driver. I don't know if it's exposed at the SQL level, but
it's certainly available from the underlying PostgreSQL network
protocol.
--
Craig Ringer