Skip to main content

Module constraints

Module constraints 

Source
Expand description

Shared CREATE/ALTER validation for table constraints.

Enums§

CheckReference

Functions§

bind_stored_check_expression
Rebind retained calls in the same named row scope used for CHECK analysis, including tableoid and the actual composite identity.
check_references
Repeated references retain their first position, including the whole-row variable. Neither the syntax nor its values are cloned or evaluated.
check_row_schema
A CHECK sees user columns, its named whole row and the relation OID; system attributes are not ordinary declaration columns.
validate_check_expression
validate_check_expression_with_type
Analyze CHECKs against the actual declared row type, using the same SQL boundary for CREATE and ALTER.
validate_foreign_key_definition