Re: Foreign Key Identification - Mailing list pgsql-general

From A. Kretschmer
Subject Re: Foreign Key Identification
Date
Msg-id 20070110164040.GA22020@a-kretschmer.de
Whole thread Raw
In response to Foreign Key Identification  (Ashish Karalkar <ashish_karalkar@yahoo.com>)
Responses Re: Foreign Key Identification  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
am  Wed, dem 10.01.2007, um  8:23:28 -0800 mailte Ashish Karalkar folgendes:
> Hello All,
> Is there any means to list out the foreign key tables
> which are liked with a primary key?
>
> is there any way to get this?

Take a look into the pg_depend - table.

http://www.postgresql.org/docs/8.1/interactive/catalog-pg-depend.html

Andreas
--
Andreas Kretschmer
Kontakt:  Heynitz: 035242/47150,   D1: 0160/7141639 (mehr: -> Header)
GnuPG-ID:   0x3FFF606C, privat 0x7F4584DA   http://wwwkeys.de.pgp.net

pgsql-general by date:

Previous
From: Ashish Karalkar
Date:
Subject: Foreign Key Identification
Next
From: Brad Nicholson
Date:
Subject: Re: Recording insert, updates, and deletes