pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kris Jurka <books@ejurka.com>
To: Adam Rauch <adam@labkey.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: 9.0 JDBC driver reporting invalid primary key meta data
Date: Fri, 6 Aug 2010 18:06:36 -0400 (EDT)
Message-ID: <alpine.BSO.2.00.1008061803370.26838@leary.csoft.net> (raw)
In-Reply-To: <006901cb3359$c4f493e0$4eddbba0$@com>
References: <006901cb3359$c4f493e0$4eddbba0$@com>



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



view thread (3+ messages)  latest in thread

Message-ID: <alpine.BSO.2.00.1008061803370.26838@leary.csoft.net>
Permalink:  ../alpine.BSO.2.00.1008061803370.26838@leary.csoft.net/
Also on:    postgresql.org/message-id/alpine.BSO.2.00.1008061803370.26838@leary.csoft.net

 · 

reply

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: books@ejurka.com, adam@labkey.com
  Subject: Re: 9.0 JDBC driver reporting invalid primary key meta data
  In-Reply-To: <alpine.BSO.2.00.1008061803370.26838@leary.csoft.net>
  References: <006901cb3359$c4f493e0$4eddbba0$@com> <alpine.BSO.2.00.1008061803370.26838@leary.csoft.net>

* 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