Skip to main content

Module merge

Module merge 

Source
Expand description

MERGE clause scopes, target privileges, and positional RETURNING schemas.

Functions§

ensure_merge_mutation_privileges
expanded_merge_returning_projections
merge_command_returning_schema
merge_returning_schema
merge_returning_source_schema
merge_target_columns
The columns a MERGE supplies, as PostgreSQL records them in its target’s insertedCols and updatedCols: those each INSERT action fills and those each UPDATE action sets.
validate_merge_action_scopes
validate_merge_target_columns