📅  最后修改于: 2022-03-11 15:05:06.794000             🧑  作者: Mango
SELECT *
FROM pg_catalog.pg_constraint con,
pg_catalog.pg_class rel,
pg_catalog.pg_namespace nsp
WHERE
rel.oid = con.conrelid
AND nsp.oid = connamespace
AND nsp.nspname like ''
AND rel.relname like ''