Gevik Babakhani wrote:
Is there a way to query the column constraints between the tables of system
catalog.
For example pg_attribute.atttypid---->pg_type.oid. This is described in the docs of course , but does the system use something like pg_constaint or the system catalog constraints are enforced only in the code?

There is pg_depend, which is kind of like constraints, but enforced in code.

--
  Heikki Linnakangas
  EnterpriseDB   http://www.enterprisedb.com

---------------------------(end of broadcast)---------------------------
TIP 6: explain analyze is your friend

Reply via email to