Re: getPrimaryKeys

From: Kris Jurka <books(at)ejurka(dot)com>
To: David Gommeren <david(at)umgenicomputer(dot)com>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: getPrimaryKeys
Date: 2006-02-21 17:16:24
Message-ID: Pine.BSO.4.63.0602211215030.32683@leary.csoft.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

On Tue, 21 Feb 2006, David Gommeren wrote:

> Just discovered after messing around for two hours that the table-name in
> DatabaseMetaData.getPrimaryKeys is case sensitive. I don't think this should
> be.
>

How else would you differentiate between these two:

CREATE TABLE tab (a int primary key);
CREATE TABLE "TaB" (a int primary key);

Kris Jurka

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message eric cartman 2006-02-21 19:17:03 relation does not exist
Previous Message David Gommeren 2006-02-21 10:33:52 getPrimaryKeys