postgresql.information_schema.CHECK_CONSTRAINTS.sql Maven / Gradle / Ivy
SELECT
NULL AS CONSTRAINT_CATALOG,
CONSTRAINT_SCHEMA,
CONSTRAINT_NAME,
CHECK_CLAUSE
FROM
INFORMATION_SCHEMA.CHECK_CONSTRAINTS
SELECT
NULL AS CONSTRAINT_CATALOG,
CONSTRAINT_SCHEMA,
CONSTRAINT_NAME,
CHECK_CLAUSE
FROM
INFORMATION_SCHEMA.CHECK_CONSTRAINTS