This should fix a bug where a row that was updated or

Bruce Momjian <bruce@momjian.us>

Commit: 578e71fee59b8c07ee7477cc65b1e6fc98e1b3f4
Author: Bruce Momjian <bruce@momjian.us>
Date: 2002-07-30T16:33:21Z
Releases: 7.3.1
        This should fix a bug where a row that was updated or
deleted that had another row inserted/updated to its old
value during the same statement or other statements before the
integrity check for noaction would incorrectly error.  This
could happen in deferred constraints or due to triggers or
functions. It's effectively a reworking of the previous patch that
did a not exists to instead do a separate check.

Stephan Szabo

Files

PathChange+/−
src/backend/utils/adt/ri_triggers.c modified +243 −4