Karsten Hilbert <Karsten(dot)Hilbert(at)gmx(dot)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