Re: List of FKeys ?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: List of FKeys ?
Дата
Msg-id 12827.1188186512@sss.pgh.pa.us
обсуждение исходный текст
Ответ на List of FKeys ?  (Andreas <maps.on@gmx.net>)
Список pgsql-sql
Andreas <maps.on@gmx.net> writes:
> could I get a list of foreign keys that refer to a column?

The information_schema views constraint_column_usage and
referential_constraints might help you, or you could dive into the
underlying system catalogs.
        regards, tom lane


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: Block size with pg_dump?
Следующее
От: Kristo Kaiv
Дата:
Сообщение: Re: [GENERAL] table column vs. out param [1:0]