Karsten Hilbert <karsten.hilb...@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 -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general