Re: Foreign Keys

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Foreign Keys
Дата
Msg-id 26440.995402866@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Foreign Keys  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-general
Bruce Momjian <pgman@candle.pha.pa.us> writes:
>> How can you get a listing of foreign keys to a table?

> We haven't figure out a good way yet.

You can figure it out by rooting through pg_triggers looking for RI
triggers that reference your table ... but of course this is pretty
painful and ugly.  Sometime we should build a view to do it for you.

            regards, tom lane

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

Предыдущее
От: wsheldah@lexmark.com
Дата:
Сообщение: Re: undeleteable records
Следующее
От: will trillich
Дата:
Сообщение: Re: editor with syntax-highlighting for PL/PGSQL