Skip to main content

interface_exclusive_trigger_infos

Function interface_exclusive_trigger_infos 

Source
pub fn interface_exclusive_trigger_infos(
    schema: &SchemaDescriptor,
) -> Vec<ExclTriggerInfo>
Expand description

Collect all cross-table exclusive constraint trigger specs for schema.

Returns one ExclTriggerInfo per (interface exclusive constraint, concrete implementor). The same fn_name may appear multiple times (once per implementor); callers should deduplicate when emitting CREATE OR REPLACE FUNCTION.