Re: Foreign Key Identification

From: "A(dot) Kretschmer" <andreas(dot)kretschmer(at)schollglas(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Foreign Key Identification
Date: 2007-01-10 16:40:40
Message-ID: 20070110164040.GA22020@a-kretschmer.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Brad Nicholson 2007-01-10 16:58:02 Re: Recording insert, updates, and deletes
Previous Message Ashish Karalkar 2007-01-10 16:23:28 Foreign Key Identification