From: Andreas <maps.on@gmx.net>
To: pgsql-sql@postgresql.org
Subject: List of FKeys ?
Date: Mon, 27 Aug 2007 01:35:50 +0200
Message-ID: <46D20E56.10101@gmx.net> (raw)
Hi,
could I get a list of foreign keys that refer to a column?
Say I have a table_1 (t1_id integer ......)
and a lot of other tables that may refer to table 1.
Is there a command that lists all tables that have a foreign key that
points to t1_id?
Preferably with the "on update/delete" options of the relation.
Regards
Andreas
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: maps.on@gmx.net
Subject: Re: List of FKeys ?
In-Reply-To: <46D20E56.10101@gmx.net>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox