use `pg_get_constraintdef(oid)` for check constrains
use pg_get_constraintdef(oid)
for check constrains because pg_constraint.consrc
row was removed in Postgres 12
use pg_get_constraintdef(oid)
for check constrains because pg_constraint.consrc
row was removed in Postgres 12