uqa-execution 0.4.9

Volcano physical operators with row-batch pipelines
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//
// Unified Query Algebra
//
// Copyright (c) 2023-2026 Cognica, Inc.
//

//! Typed deferred constraint work registered by the mutation protocol.

#[derive(Debug, Clone, PartialEq, Eq)]
pub struct DeferredForeignKeyCheck {
    /// The constraint whose deferral governs the check and whose name its violation reports: the foreign key, or the constraint it derives on the referenced partition whose change fired the check.
    pub constraint: uqa_sql::catalog::constraints::ConstraintIdentity,
    pub firing_relation: uqa_core::RelationIdentity,
    pub row: Option<crate::row_locks::RowLockKey>,
    /// Whether a change to a referenced row fired the check, whose violation `PostgreSQL` reports from the referenced side.
    pub referenced: bool,
}