Re: Column info without executing query

From: Erik Jones <erik(at)myemma(dot)com>
To: Dan Strömberg <dan(dot)stromberg(at)stockholm(dot)bonet(dot)se>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Column info without executing query
Date: 2006-07-21 00:13:08
Message-ID: 44C01C14.8000109@myemma.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Dan Strömberg wrote:
> Hi List !
>
> I would like to know if it is possible to find out the datatypes in
> the resultset of a query or a set returning
> function without actually executing them ?
Well for result sets of queries on tables there is always the
pg_attribute catalog table.

See:
http://www.postgresql.org/docs/8.1/interactive/catalog-pg-attribute.html

--
erik jones <erik(at)myemma(dot)com>
software development
emma(r)

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Greg Philpott 2006-07-21 01:32:56 setting serial start value
Previous Message Florian G. Pflug 2006-07-20 23:05:12 Re: calling stored procedure using ECPG