Foreign Key Identification - Mailing list pgsql-general

From Ashish Karalkar
Subject Foreign Key Identification
Date
Msg-id 118641.92911.qm@web31608.mail.mud.yahoo.com
Whole thread Raw
Responses Re: Foreign Key Identification  ("A. Kretschmer" <andreas.kretschmer@schollglas.com>)
List pgsql-general
Hello All,
Is there any means to list out the foreign key tables
which are liked with a primary key?
What i want to do is something as follows:

TableA with  primary key TableAPK

TableB with Foreign key TableAPK
TableC with Foreign Key TableAPK

Waht i want to get is

select tablename from ? where Foreign key = TableAPK
and this should list me

TableB
TableC


is there any way to get this?


Thanks in advance

With Regards
Ashish Karalkar



____________________________________________________________________________________
Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail beta.
http://new.mail.yahoo.com

pgsql-general by date:

Previous
From: "Joshua D. Drake"
Date:
Subject: Re: SP in PostgreSQL
Next
From: "A. Kretschmer"
Date:
Subject: Re: Foreign Key Identification