Re: Foreign Key Identification

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Foreign Key Identification
Дата
Msg-id 10099.1168449445@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Foreign Key Identification  ("A. Kretschmer" <andreas.kretschmer@schollglas.com>)
Ответы Re: Foreign Key Identification  ("A. Kretschmer" <andreas.kretschmer@schollglas.com>)
Список pgsql-general
"A. Kretschmer" <andreas.kretschmer@schollglas.com> writes:
> am  Wed, dem 10.01.2007, um  8:23:28 -0800 mailte Ashish Karalkar folgendes:
>> Is there any means to list out the foreign key tables
>> which are liked with a primary key?

> Take a look into the pg_depend - table.

I think there's an information_schema view that would give you this
without getting so cozy with implementation details as to look in
pg_depend ...

            regards, tom lane

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

Предыдущее
От: Brad Nicholson
Дата:
Сообщение: Re: Recording insert, updates, and deletes
Следующее
От: Scott Marlowe
Дата:
Сообщение: Re: index creation on 7.3