Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-jdbc by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group