Skip to main content

Module action_binding

Module action_binding 

Source
Expand description

Query-scope-aware binding for rewrite-rule OLD/NEW pseudo-relations.

Traits§

RuleSourceCatalog

Functions§

action_target_qualifier_referenced
bind_rule_action
Bind an action’s event-row OLD/NEW references while preserving the action row-image aliases visible to its DML RETURNING clause.
bind_rule_expr_scoped
Bind one expression while masking relation qualifiers supplied by the SQL scope around it. Nested query scopes add their own visible aliases.
expand_rule_action_returning_stars
expand_rule_action_row_stars
first_rule_row_reference_in_expr
first_rule_row_reference_in_select
first_rule_row_reference_in_statement
invalid_rule_action_reference
rule_action_has_set_operation
rule_action_target_columns
rule_action_target_row_type
rule_condition_plan_references_whole_row
rule_condition_plan_row_columns
rule_expr_references_row
rule_expr_references_whole_row
rule_expr_row_columns
rule_new_row_columns
Input assignments contribute only NEW fields; OLD references require source rows but never the corresponding new assignment expression.
rule_statement_references_row
rule_statement_references_whole_row
rule_statement_row_columns