Skip to content
Snippets Groups Projects
Commit 55d85f42 authored by Tom Lane's avatar Tom Lane
Browse files

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.
parent 6099bc03
Branches
Tags
No related merge requests found
Showing with 210 additions and 84 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment