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

Missing functionality in ResultSetMetaData ?

From: Thomas Dudziak <tomdzk(at)gmail(dot)com>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: Missing functionality in ResultSetMetaData ?
Date: 2005-08-09 20:38:12
Message-ID: 224f323405080913385a38ece0@mail.gmail.com (view raw or flat)
Thread:
Lists: pgsql-jdbc
Hi,

I'm trying to extract the source tables from a result set for a
arbitrary select query. For this I use the

ResultSetMetaData.getTableName(int columnIndex)

method. However with the postgresql-8.0-311.jdbc3.jar driver against a
PostgreSQL 8.0.1, I never get any table names, regardless of whether
the query is a straight SELECT * FROM simpletable or a complicated
query using multiple joins.
Are there plans to incorporate this functionality, or perhaps a driver
version that already supports this ?

regards,
Tom

Responses

pgsql-jdbc by date

Next:From: Dave CramerDate: 2005-08-09 21:10:33
Subject: Re: Missing functionality in ResultSetMetaData ?
Previous:From: Kris JurkaDate: 2005-08-09 17:31:51
Subject: Re: Is anyone aware that the 8.1dev download links on the

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group