3 ms·
Constraint triggers are very useful for enforcing cross-table constraints. Triggers themselves, beside the typical use cases of logging and notifying channels,
by colanderman 8y ago
Constraint triggers are very useful for enforcing cross-table constraints.
Triggers themselves, beside the typical use cases of logging and notifying channels, I find useful for non-disruptive schema upgrades. You can redirect updates, or fill in non-trivial default values, using them. (Rules could probably fill the same role.)
- blattimwind 8y ago> Triggers themselves, beside the typical use cases of logging and notifying channels, I find useful for non-disruptive schema upgrades. You can redirect updates, or fill in non-trivial default values, using them. (Rules could probably fill the same role.) Also writeable views.