Re: Information about columns

From: Craig Ringer <craig(at)postnewspapers(dot)com(dot)au>
To: Dario Teixeira <darioteixeira(at)yahoo(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Information about columns
Date: 2009-06-22 12:43:09
Message-ID: 1245674589.15330.2.camel@ayaki
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Pavel Stehule 2009-06-22 12:52:18 Re: Information about columns
Previous Message Dario Teixeira 2009-06-22 12:26:45 Information about columns