Re: 9.0 JDBC driver reporting invalid primary key meta data

From: Kris Jurka <books(at)ejurka(dot)com>
To: Adam Rauch <adam(at)labkey(dot)com>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: 9.0 JDBC driver reporting invalid primary key meta data
Date: 2010-08-06 22:06:36
Message-ID: alpine.BSO.2.00.1008061803370.26838@leary.csoft.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

On Tue, 3 Aug 2010, Adam Rauch wrote:

>
> Requesting primary key meta data via the JDBC driver [i.e.,
> conn.getMetaData().getPrimaryKeys()] against PostgreSQL 9.0 reports
> incorrect meta data for tables whose PK column(s) has been renamed.

I've just checked in a fix for this problem. Also affected are
getIndexInfo and getBestRowIdentifier.

I've posted a jar file if you'd like to test this on your application.

http://www.ejurka.com/pgsql/jars/ar/

Kris Jurka

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Kris Jurka 2010-08-06 23:31:45 Re: [HACKERS] Trouble with COPY IN
Previous Message Jason Tesser 2010-08-06 20:53:14 Re: 9.0 Driver