pg.ddx.io pgsql-jdbc@postgresql.org mailing list archive
help / color / mirror / Atom feedQuery available indexes via jdbc meta data does not work any more in PostgreSQL 9.6.0
3+ messages / 3 participants
[nested] [flat]
* Query available indexes via jdbc meta data does not work any more in PostgreSQL 9.6.0
@ 2016-10-10 13:46 Tillmann Schulz <tillmann73@yahoo.de>
2016-10-10 14:47 ` Re: Query available indexes via jdbc meta data does not work any more in PostgreSQL 9.6.0 Tom Lane <tgl@sss.pgh.pa.us>
0 siblings, 1 reply; 3+ messages in thread
From: Tillmann Schulz @ 2016-10-10 13:46 UTC (permalink / raw)
To: pgsql-bugs@postgresql.org <pgsql-bugs@postgresql.org>
Hello,
We are using Postgres 9.5 and want to migrate to 9.6.0.
Unfortuantelly our application works with 9.5 but doesn't work with 9.6. It fails while querying index informations via jdbc meta data.
The error message is:
Caused by: org.postgresql.util.PSQLException: ERROR: Column am.amcanorder doesnt exist
Position: 427
at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2270)
at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1998)
at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:255)
at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:570)
at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:406)
at org.postgresql.jdbc2.AbstractJdbc2Statement.executeQuery(AbstractJdbc2Statement.java:286)
at org.postgresql.jdbc2.AbstractJdbc2DatabaseMetaData.getIndexInfo(AbstractJdbc2DatabaseMetaData.java:4234)
It would be nice, if Postgres 9.6 could query index information via jdbc meta data.
Best regards
Tillmann Schulz
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: Query available indexes via jdbc meta data does not work any more in PostgreSQL 9.6.0
2016-10-10 13:46 Query available indexes via jdbc meta data does not work any more in PostgreSQL 9.6.0 Tillmann Schulz <tillmann73@yahoo.de>
@ 2016-10-10 14:47 ` Tom Lane <tgl@sss.pgh.pa.us>
2016-10-10 16:35 ` Re: [BUGS] Query available indexes via jdbc meta data does not work any more in PostgreSQL 9.6.0 Dave Cramer <pg@fastcrypt.com>
0 siblings, 1 reply; 3+ messages in thread
From: Tom Lane @ 2016-10-10 14:47 UTC (permalink / raw)
To: Tillmann Schulz <tillmann73@yahoo.de>; +Cc: pgsql-bugs@postgresql.org <pgsql-bugs@postgresql.org>; pgsql-jdbc
Tillmann Schulz <tillmann73@yahoo.de> writes:
> We are using Postgres 9.5 and want to migrate to 9.6.0.
> Unfortuantelly our application works with 9.5 but doesn't work with 9.6. It fails while querying index informations via jdbc meta data.
> The error message is:
> Caused by: org.postgresql.util.PSQLException: ERROR: Column am.amcanorder doesnt exist
You need a version of the JDBC driver that's 9.6 compatible. I think
there's been such a release but am not sure about the number.
regards, tom lane
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: [BUGS] Query available indexes via jdbc meta data does not work any more in PostgreSQL 9.6.0
2016-10-10 13:46 Query available indexes via jdbc meta data does not work any more in PostgreSQL 9.6.0 Tillmann Schulz <tillmann73@yahoo.de>
2016-10-10 14:47 ` Re: Query available indexes via jdbc meta data does not work any more in PostgreSQL 9.6.0 Tom Lane <tgl@sss.pgh.pa.us>
@ 2016-10-10 16:35 ` Dave Cramer <pg@fastcrypt.com>
0 siblings, 0 replies; 3+ messages in thread
From: Dave Cramer @ 2016-10-10 16:35 UTC (permalink / raw)
To: Tom Lane <tgl@sss.pgh.pa.us>; +Cc: Tillmann Schulz <tillmann73@yahoo.de>; pgsql-bugs@postgresql.org <pgsql-bugs@postgresql.org>; pgsql-jdbc
On 10 October 2016 at 10:47, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Tillmann Schulz <tillmann73@yahoo.de> writes:
> > We are using Postgres 9.5 and want to migrate to 9.6.0.
> > Unfortuantelly our application works with 9.5 but doesn't work with 9.6.
> It fails while querying index informations via jdbc meta data.
>
> > The error message is:
> > Caused by: org.postgresql.util.PSQLException: ERROR: Column
> am.amcanorder doesnt exist
>
> You need a version of the JDBC driver that's 9.6 compatible. I think
> there's been such a release but am not sure about the number.
>
> regards, tom lane
>
>
yes, can you try with the latest driver 1211 ?
Dave Cramer
davec@postgresintl.com
www.postgresintl.com
^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2016-10-10 16:35 UTC | newest]
Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2016-10-10 13:46 Query available indexes via jdbc meta data does not work any more in PostgreSQL 9.6.0 Tillmann Schulz <tillmann73@yahoo.de>
2016-10-10 14:47 ` Tom Lane <tgl@sss.pgh.pa.us>
2016-10-10 16:35 ` Dave Cramer <pg@fastcrypt.com>
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