PostgreSQL: Script to find Source and Destination of All Foreign Key Constraint

In this post, I provide one script to find all list of Foreign Key with source and destination in PostgreSQL.
I am sharing this kind of DBA script because in some situation it helps lots.
Using this script you can easily find all foreign key of a Postgres Database and its very useful for Database Architecture to find out different references.

Anvesh Patel

Leave a Reply

Be the First to Comment!

Notify of
avatar
wpDiscuz