Re: Getting foreign keys seems buggy

From: "Dave Cramer" <Dave(at)micro-automation(dot)net>
To: "'Amar Sagoo'" <asagoo(at)gmx(dot)net>, <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: Getting foreign keys seems buggy
Date: 2002-03-11 23:52:49
Message-ID: 00bd01c1c957$db86b220$807ba8c0@inspiron
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Amar,

I think this has been fixed in the current sources. The driver on the
site isn't up to date however

Dave

-----Original Message-----
From: pgsql-jdbc-owner(at)postgresql(dot)org
[mailto:pgsql-jdbc-owner(at)postgresql(dot)org] On Behalf Of Amar Sagoo
Sent: Monday, March 11, 2002 3:07 PM
To: pgsql-jdbc(at)postgresql(dot)org
Subject: [JDBC] Getting foreign keys seems buggy

Hi,

I'm trying to get a list of foreign keys for a table in a PostgreSQL
database through the JDBC interface. However, the
DatabaseMetaData.getImportedKeys() method only returns one of the
foreign keys, although the table references more than one other table. I
also noticed that instead of listing each field of the foreign key in a
separate row of the result set, it puts them together in one row,
separated by commas.

Is this a known bug in the JDBC driver?

Cheers

Amar

--
GMX - Die Kommunikationsplattform im Internet. http://www.gmx.net

---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
(send "unregister YourEmailAddressHere" to majordomo(at)postgresql(dot)org)

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message otisg 2002-03-12 00:32:42 Re: which JDBC driver
Previous Message Amar Sagoo 2002-03-11 20:06:48 Getting foreign keys seems buggy