pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
getPrimaryKeys
2+ messages / 2 participants
[nested] [flat]

* getPrimaryKeys
@ 2006-02-21 10:33  David Gommeren <david@umgenicomputer.com>
  0 siblings, 1 reply; 2+ messages in thread

From: David Gommeren @ 2006-02-21 10:33 UTC (permalink / raw)
  To: pgsql-jdbc

Hi,

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.

JDBC version: 8.1-405 JDBC 2

Cheers,

David



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: getPrimaryKeys
@ 2006-02-21 17:16  Kris Jurka <books@ejurka.com>
  parent: David Gommeren <david@umgenicomputer.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Kris Jurka @ 2006-02-21 17:16 UTC (permalink / raw)
  To: David Gommeren <david@umgenicomputer.com>; +Cc: 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



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2006-02-21 17:16 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2006-02-21 10:33 getPrimaryKeys David Gommeren <david@umgenicomputer.com>
2006-02-21 17:16 ` Kris Jurka <books@ejurka.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