check out this link. I it will be what you are looking for http://errorbank.blogspot.com/2011/03/list-all-foreign-keys-references-for.html
--View this message in context: http://postgresql.1045698.n5.nabble.com/Multiple-foreign-keys-with-the-same-name-and-information-schema-tp1921901p4303625.htmlSent from the PostgreSQL - general mailing list archive at Nabble.com.