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

From Volkan YAZICI
Subject Re: Column info without executing query
Date
Msg-id 20060721131452.GD1351@alamut.tdm.local
Whole thread Raw
In response to Re: Column info without executing query  (Jacob Coby <jcoby@listingbook.com>)
Responses Re: Column info without executing query  (Martijn van Oosterhout <kleptog@svana.org>)
List pgsql-general
On Jul 21 09:02, Jacob Coby wrote:
> Volkan YAZICI wrote:
> >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
>
> PHP supports it with the pg_field_type() function.

PHP uses libpq in the background to communicate with the server. How
can you wait PHP to support a feature that's not supported by libpq?
Furtheremore, pg_field_type() queries system catalogs to collect
information which is quite different than Describe functionality.


Regards.

pgsql-general by date:

Previous
From: Jacob Coby
Date:
Subject: Re: Column info without executing query
Next
From: Martijn van Oosterhout
Date:
Subject: Re: Column info without executing query