Re: how to find foreign key details (column, that is) - Mailing list pgsql-general

From Tom Lane
Subject Re: how to find foreign key details (column, that is)
Date
Msg-id 2373.1229284955@sss.pgh.pa.us
Whole thread Raw
In response to Re: how to find foreign key details (column, that is)  (Karsten Hilbert <Karsten.Hilbert@gmx.net>)
Responses Re: how to find foreign key details (column, that is)  (Bruce Momjian <bruce@momjian.us>)
List 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 by date:

Previous
From: Karsten Hilbert
Date:
Subject: Re: how to find foreign key details (column, that is)
Next
From: Raymond O'Donnell
Date:
Subject: Re: application readable error message