pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Thomas Dudziak <tomdzk@gmail.com>
To: pgsql-jdbc@postgresql.org
Subject: Missing functionality in ResultSetMetaData ?
Date: Tue, 9 Aug 2005 22:38:12 +0200
Message-ID: <224f323405080913385a38ece0@mail.gmail.com> (raw)

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



view thread (16+ messages)  latest in thread

Message-ID: <224f323405080913385a38ece0@mail.gmail.com>
Permalink:  ../224f323405080913385a38ece0@mail.gmail.com/
Also on:    postgresql.org/message-id/224f323405080913385a38ece0@mail.gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: tomdzk@gmail.com
  Subject: Re: Missing functionality in ResultSetMetaData ?
  In-Reply-To: <224f323405080913385a38ece0@mail.gmail.com>
  References: <224f323405080913385a38ece0@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox