pub fn validate_truncate_references(
catalog: &dyn TruncateCatalog,
targets: &TruncateTargets,
) -> Result<(), SQLError>Expand description
Reject truncating a table that a table outside the targets references, naming the first such pair in target order, as PostgreSQL’s heap_truncate_check_FKs does.