From: | niamul(at)another(dot)com |
---|---|
To: | pgsql-general(at)postgresql(dot)org |
Subject: | getting primary and foreign using jdbc |
Date: | 2001-06-01 13:18:29 |
Message-ID: | 13462661.991401509371.JavaMail.nobody@smtp.backend.another.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Hi,
I am using PostgreSQL 7.1 with jdbc driver jdbc6.5-1.2.jar, I would like to get the primary and foreign key from the database. The ResultSet returned by the jdbc is always empty. Could someone please tell me how to get the primary key and foreign key from the postgresql.
I specially need to know the foreign key, I tried to get it through the system catalogs by doing a sql query, but my knowledge of such table and how to use them is very limited. I would be very grateful if someone can send me a solution to this problems, especially for the foreign key.
Many thanks.
N
-----
Be passionate about your email
Just click here: http://another.com
From | Date | Subject | |
---|---|---|---|
Next Message | Denis Gasparin | 2001-06-01 13:39:10 | Pgsql vs Interbase: Transaction benchmark |
Previous Message | kavoos | 2001-06-01 12:17:17 | Vacuum problems ... HELP !!! |