PostgreSQL 10 Administration Cookbook
上QQ阅读APP看书,第一时间看更新

How it works…

When we create a foreign key, we add a constraint to the catalog table known as pg_constraint. Therefore, the query shows us how to find all the constraints that depend upon the orders table.