Marc Munro <marc@bloodnok.com> writes:
> The RI triggers currently fire when a record is updated. Under my
> proposal they would fire in the same way but before the record is locked
> rather than after. Or am I missing your point?
IOW, some other transaction could update or delete the tuple meanwhile?
Doesn't seem very promising.
regards, tom lane