From: Craig Ringer <ringerc@ringerc.id.au>
To: the6campbells <the6campbells@gmail.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: ResultSet metadata for a prepared statement missing the applicable table, schema etc properties
Date: Tue, 02 Oct 2012 22:26:57 +0800
Message-ID: <506AF9B1.4060209@ringerc.id.au> (raw)
In-Reply-To: <CAFEjsq6Rd1DOQVM3vWdbfZ_h5=vHdsCv_eXMvQQ_a4G9VW6VTg@mail.gmail.com>
References: <CAFEjsq6Rd1DOQVM3vWdbfZ_h5=vHdsCv_eXMvQQ_a4G9VW6VTg@mail.gmail.com>
On 09/24/2012 11:30 PM, the6campbells wrote:
> If you create a PreparedStatement such as select c1 from t1 and
> subsequently request the ResultSetMetadata for that statement you will
> observe that the driver is not providing any values for getTableName,
> getSchemaName etc.
>
> Is this a known bug?
Any chance of fleshing this one out with a test case / sources? Again I
can write one, but the best thing to do is submit some new (failing)
unit tests for PgJDBC that demonstrate the problem, or at least a
runnable standalone test case. Everyone working on the JDBC driver is a
badly swamped volunteer (including myself, not that I've done much on
the driver yet) so any time saved on testcase writing etc is time that
can be spent on compliance/bugs.
--
Craig Ringer
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: ringerc@ringerc.id.au, the6campbells@gmail.com
Subject: Re: ResultSet metadata for a prepared statement missing the applicable table, schema etc properties
In-Reply-To: <506AF9B1.4060209@ringerc.id.au>
References: <CAFEjsq6Rd1DOQVM3vWdbfZ_h5=vHdsCv_eXMvQQ_a4G9VW6VTg@mail.gmail.com> <506AF9B1.4060209@ringerc.id.au>
* 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