Re: how to find foreign key details (column, that is)

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: how to find foreign key details (column, that is)
Дата
Msg-id 1978.1229283471@sss.pgh.pa.us
обсуждение исходный текст
Ответ на how to find foreign key details (column, that is)  (Karsten Hilbert <Karsten.Hilbert@gmx.net>)
Ответы Re: how to find foreign key details (column, that is)
Список pgsql-general
Karsten Hilbert <Karsten.Hilbert@gmx.net> writes:
> I cannot, however, for the life of it find out how to learn
> the *column* the foreign key is on.

pg_constraint.conkey has the referencing columns' numbers.

            regards, tom lane

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

Предыдущее
От: Ivan Sergio Borgonovo
Дата:
Сообщение: from 2 keys to serial
Следующее
От: Karsten Hilbert
Дата:
Сообщение: Re: how to find foreign key details (column, that is)