Repair RI trigger visibility problems (this time for sure ;-)) per recent

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 55d85f42a891a812a9bbd69ebe530651a2f31624
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2003-10-01T21:30:53Z
Releases: 7.4.1
Repair RI trigger visibility problems (this time for sure ;-)) per recent
discussion on pgsql-hackers: in READ COMMITTED mode we just have to force
a QuerySnapshot update in the trigger, but in SERIALIZABLE mode we have
to run the scan under a current snapshot and then complain if any rows
would be updated/deleted that are not visible in the transaction snapshot.

Files