title: Get all the column names having a Foreign Key contraint
body: <p>I am using the PostgreSQL. I want to write a query that returns all the column names having foreign key constraint and also the name of the table these columns they refer to.</p>