John Lumby <[email protected]> writes: > How can a row trigger access the original SQL statement at the root of > the current operation?
It can't; at least not in any way that'd be reliable or maintainable.
I concur with the upthread recommendation that switching to serializable
mode would be a more manageable way of dealing with concurrent-update
problems.
regards, tom lane
