List of FKeys ?

Поиск
Список
Период
Сортировка
От Andreas
Тема List of FKeys ?
Дата
Msg-id 46D20E56.10101@gmx.net
обсуждение исходный текст
Ответы Re: List of FKeys ?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-sql
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


В списке pgsql-sql по дате отправления:

Предыдущее
От: Jean-David Beyer
Дата:
Сообщение: Block size with pg_dump?
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Block size with pg_dump?