OSDN Git Service

This should fix a bug where a row that was updated or
authorBruce Momjian <bruce@momjian.us>
Tue, 30 Jul 2002 16:33:21 +0000 (16:33 +0000)
committerBruce Momjian <bruce@momjian.us>
Tue, 30 Jul 2002 16:33:21 +0000 (16:33 +0000)
commit578e71fee59b8c07ee7477cc65b1e6fc98e1b3f4
tree22d23eb108554072682257560bb3349aad82a8ed
parent9f1fc1080e91005cad96f84463e2392604823024
    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
src/backend/utils/adt/ri_triggers.c