Re: Column info without executing query - Mailing list pgsql-general

From Volkan YAZICI
Subject Re: Column info without executing query
Date
Msg-id 20060721091210.GB1351@alamut.tdm.local
Whole thread Raw
In response to Column info without executing query  (Dan Strömberg <dan.stromberg@stockholm.bonet.se>)
Responses Re: Column info without executing query  (Thomas Kellerer <spam_eater@gmx.net>)
Re: Column info without executing query  (Jacob Coby <jcoby@listingbook.com>)
List pgsql-general
On Jul 20 08:21, Dan Strömberg wrote:
> 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 ?

As Tom mentioned, there's support for this feature in the protocol
level, but I don't know any API supports this yet. However, here's a
patch that adds Describe functionality for Prepared Statements and
Cursors to libpq:
http://archives.postgresql.org/pgsql-hackers/2006-06/msg01281.php


Regards.

pgsql-general by date:

Previous
From: "deepak pal"
Date:
Subject: question for JAVA developer who r using postgres sql as backend
Next
From: Thomas Kellerer
Date:
Subject: Re: Column info without executing query