Referential Actions: From Logical Semantics to Implementation
نویسندگان
چکیده
Referential actions rac s are specialized triggers used to au tomatically maintain referential integrity While their local e ects can be grasped easily it is far from obvious what the global semantics of a set RA of interacting rac s should be To capture the intended meaning of RA we rst present an abstract non constructive semantics By formal izing RA as a logic program PRA a constructive semantics is obtained The equivalence of the logic programming semantics and the abstract semantics is proven using a game theoretic characterization which pro vides additional insight into the meaning of rac s As shown in previous work for general rac s it may be infeasible to compute all maximal ad missible solutions Therefore we focus on a tractable subset i e rac s without modi cations We show that in this case a unique maximal ad missible solution exists and derive a ptime algorithm for computing this solution In case a set U of user requests is not admissible a maximal admissible subset of U is suggested
منابع مشابه
Referential Actions as Logical Rules
Referential actions are specialized triggers used to automatically maintain referential integrity. While their local behavior can be grasped easily, it is far from clear what the combined eeect of a set of referential actions, i.e., their global semantics should be. For example, diierent execution orders may lead to ambiguities in determining the nal set of updates to be applied. To resolve the...
متن کاملTowards a Logical Semantics for Referential Actions in SQL
We investigate a logical semantics which unambiguously speciies the meaning of SQL-like referential actions of the form ON DELETE CASCADE and ON DELETE RESTRICT. The semantics is given by a translation of referential actions into logical rules. The proposed semantics is less restrictive than the standard SQL semantics, yet preserves all referential integrity constraints. First, a preliminary se...
متن کاملA duality between LM-fuzzy possibility computations and their logical semantics
Let X be a dcpo and let L be a complete lattice. The family σL(X) of all Scott continuous mappings from X to L is a complete lattice under pointwise order, we call it the L-fuzzy Scott structure on X. Let E be a dcpo. A mapping g : σL(E) −> M is called an LM-fuzzy possibility valuation of E if it preserves arbitrary unions. Denote by πLM(E) the set of all LM-fuzzy possibility valuations of E. T...
متن کاملReference, Inference and the Semantics of Pejoratives
1. Introduction. Two opposing tendencies in the philosophy of language go by the names of 'referentialism' and 'inferentialism' respectively. In the crudest version of the contrast, the referentialist account of meaning gives centre stage to the referential semantics for a language, which is then used to explain the inference rules for the language, perhaps as those which preserve truth on that...
متن کاملThe semantics of an extended referential integrity for a multilevel secure relational data model
To prevent information leakage in multilevel secure data models, the concept of polyinstantiation was inevitably introduced. Unfortunately, when it comes to references through foreign key in multilevel relational data models, the polyinstantiation causes referential ambiguities. To resolve this problem, this paper proposes an extended referential integrity semantics for a multilevel relational ...
متن کامل