"Rod Taylor" <rbt(at)zort(dot)ca> writes:
> Is everyone Ok with the above? Or do we go about making an pg_fkey
> type table for tracking this stuff?
In general there ought to be a pg_constraint table that records all
types of constraints (not only foreign keys). We blew it once already
by making pg_relcheck (which only handles check constraints). Let's
not miss the boat again.
regards, tom lane