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

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: how to find foreign key details (column, that is)
Дата
Msg-id 2373.1229284955@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: 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)  (Bruce Momjian <bruce@momjian.us>)
Список pgsql-general
Karsten Hilbert <Karsten.Hilbert@gmx.net> writes:
> This is what my 8.3 manual says:

> conkey │ int2[] │ pg_attribute.attnum │ If a table constraint, list of columns which the constraint constrains │

> From that I wouldn't have figured it'd apply to foreign keys
> as well. So I assume it is fair to say that "foreign keys
> are one type of table constraint", right ?

Right.  I think what the comment is actually trying to point out is that
conkey isn't relevant to domain constraints, which also appear in
pg_constraint.

            regards, tom lane

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

Предыдущее
От: Karsten Hilbert
Дата:
Сообщение: Re: how to find foreign key details (column, that is)
Следующее
От: Raymond O'Donnell
Дата:
Сообщение: Re: application readable error message