From: Thomas Dudziak <tomdzk@gmail.com>
To: pgsql-jdbc@postgresql.org
Subject: Re: Missing functionality in ResultSetMetaData ?
Date: Tue, 9 Aug 2005 23:19:16 +0200
Message-ID: <224f323405080914194be16ac3@mail.gmail.com> (raw)
In-Reply-To: <Pine.BSO.4.56.0508091611090.19160@leary.csoft.net>
References: <224f323405080913385a38ece0@mail.gmail.com>
<Pine.BSO.4.56.0508091611090.19160@leary.csoft.net>
On 8/9/05, Kris Jurka <books@ejurka.com> wrote:
> > 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)
>
> http://archives.postgresql.org/pgsql-jdbc/2005-01/msg00220.php
>
> Please see this message and the discussion referenced at the bottom of it
> for why we do not support getTableName, but instead provide a pg specific
> getBaseTableName method.
Ok, thanks, I see. However, from what I read in the thread the
question in the mail that you referenced, as to why
PGResultSetMetadata does not extend ResultSetMetadata, and as a result
the getTableName method is mapped onto getBaseTableName, is still
valid IMO. Especially if the information seems to be readily
available. Would you consider this change for an upcoming release ?
regards,
Tom
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: <224f323405080914194be16ac3@mail.gmail.com>
References: <224f323405080913385a38ece0@mail.gmail.com> <Pine.BSO.4.56.0508091611090.19160@leary.csoft.net> <224f323405080914194be16ac3@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