pg.ddx.io pgsql-jdbc@postgresql.org mailing list archive
help / color / mirror / Atom feedResultSet metadata for a prepared statement missing the applicable table, schema etc properties
2+ messages / 2 participants
[nested] [flat]
* ResultSet metadata for a prepared statement missing the applicable table, schema etc properties
@ 2012-09-24 15:30 the6campbells <the6campbells@gmail.com>
0 siblings, 1 reply; 2+ messages in thread
From: the6campbells @ 2012-09-24 15:30 UTC (permalink / raw)
To: pgsql-jdbc
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?
Driver PostgreSQL 9.1 JDBC4 (build 902)
Server 9.0.4
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: ResultSet metadata for a prepared statement missing the applicable table, schema etc properties
@ 2012-10-02 14:26 Craig Ringer <ringerc@ringerc.id.au>
parent: the6campbells <the6campbells@gmail.com>
0 siblings, 0 replies; 2+ messages in thread
From: Craig Ringer @ 2012-10-02 14:26 UTC (permalink / raw)
To: the6campbells <the6campbells@gmail.com>; +Cc: pgsql-jdbc
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
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2012-10-02 14:26 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2012-09-24 15:30 ResultSet metadata for a prepared statement missing the applicable table, schema etc properties the6campbells <the6campbells@gmail.com>
2012-10-02 14:26 ` Craig Ringer <ringerc@ringerc.id.au>
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