Skip to main content

foreign_key_scan_tables

Function foreign_key_scan_tables 

Source
pub fn foreign_key_scan_tables(
    catalog: &dyn PartitionCatalog,
    table: &str,
) -> Result<Vec<String>, SQLError>
Expand description

The relations whose rows a foreign key reads for table: the table and, when it is partitioned, every partition below it, each before its own partitions. The rows of a plain inheritance child belong to the child alone, as PostgreSQL’s referential queries read ONLY a table that is not partitioned.