Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search archives
  Advanced Search

Re: PreparedStatement.getMetaData() and Creator


  • From: Kris Jurka <books(at)ejurka(dot)com>
  • To: Jeremiah Jahn <jeremiah(at)cs(dot)earlham(dot)edu>
  • Cc: postgres jdbc <pgsql-jdbc(at)postgresql(dot)org>
  • Subject: Re: PreparedStatement.getMetaData() and Creator
  • Date: Thu, 29 Jul 2004 13:23:46 -0500 (EST)
  • Message-id: <Pine.BSO.4.56.0407291307090.9250@leary.csoft.net> <text/plain>


On Thu, 29 Jul 2004, Jeremiah Jahn wrote:

> >We just tested postgresql in house and found that the driver is
> >returning null for PreparedStatement.getMetaData()
> 

It may be possible to do that now.  Previously PreparedStatements were 
implemented by doing the substitution on the driver side and sending the 
full query to the backend, so the only way to get the metadata was to 
actually run the query.  With the new V3 protocol support it seems 
possible to issue Parse and Describe messages without issuing Bind or 
Execute.

Kris Jurka



Home | Main Index | Thread Index

Privacy Policy | About PostgreSQL
Copyright © 1996 – 2012 PostgreSQL Global Development Group