Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
>> How can you get a listing of foreign keys to a table?
> We haven't figure out a good way yet.
You can figure it out by rooting through pg_triggers looking for RI
triggers that reference your table ... but of course this is pretty
painful and ugly. Sometime we should build a view to do it for you.
regards, tom lane