Skip to main content

Module constraints

Module constraints 

Source

Functions§

list_constraints
Check (‘c’) and exclusion (‘x’) constraints, grouped by owning table name. Primary key (‘p’) and unique (‘u’) constraints are intentionally excluded here since they are represented via table keys instead (see keys.rs).
list_exclusion_constraint_names
Names of exclusion constraints (‘x’), keyed by (table_name, constraint_name), so that keys.rs can skip the unique index that merely backs an exclusion constraint.