Skip to main content

Module targets

Module targets 

Source
Expand description

Type selection and duplicate-column rules for whole and subscripted assignments.

Functions§

array_assignment_type
The array container produced by subscripting, before restoring a domain or legacy vector type.
assignment_value_type
Slices consume an array; any number of element subscripts consumes one scalar element.
validate_assignment_default
validate_assignment_result
Subscripting yields an ordinary array; the declared destination must accept that container.
validate_assignment_source
Type errors retain PostgreSQL’s separate primary message and rewrite hint.
validate_assignment_type
Whole-column writes may target an open schema. Partial writes require a declared container type before evaluating bounds or values.
validate_repeated_targets
Repeated partial targets compose, but a whole-column write cannot share its destination.