| От | 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)
|
| Список | 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 по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера