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

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: how to find foreign key details (column, that is)
Дата
Msg-id 200901211849.n0LIniA09458@momjian.us
обсуждение исходный текст
Ответ на Re: how to find foreign key details (column, that is)  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: how to find foreign key details (column, that is)
Список pgsql-general
Tom Lane wrote:
> 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.

Can someone come up with better documention wording for conkey?  I
can't:

    http://developer.postgresql.org/pgdocs/postgres/catalog-pg-constraint.html

--
  Bruce Momjian  <bruce@momjian.us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

  + If your life is a hard drive, Christ can be your backup. +

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

Предыдущее
От: Grzegorz Jaśkiewicz
Дата:
Сообщение: Re: deductive databases in postgreSQL
Следующее
От: Karsten Hilbert
Дата:
Сообщение: Re: how to find foreign key details (column, that is)