Peter Eisentraut <peter.eisentr...@2ndquadrant.com> writes: > So I'm proposing the attached alternative patch, which creates > constraint triggers to be TRIGGER_FIRES_ALWAYS by default. > Thoughts?
Hm, the general idea seems attractive, but I'm not sure we want this behavioral change for user-created triggers. Can we make it happen like that only for RI triggers specifically? If not, there's at least some missing doco changes here. regards, tom lane