Work-in-progress referential action trigger timing patch

Stephan Szabo <sszabo@megazone.bigpanda.com>

From: Stephan Szabo <sszabo@megazone.bigpanda.com>
To: pgsql-patches@postgresql.org
Cc: Tom Lane <tgl@sss.pgh.pa.us>, allanvv@gmail.com, nsuk@users.sourceforge.net, darcy@wavefire.com
Date: 2005-08-24T03:47:55Z
Lists: pgsql-hackers

Attachments

Here's my current work in progress for 8.1 devel related to fixing the
timing issues with referential actions having their checks run on
intermediate states.  I've only put in a simple test that failed against
8.0 in the regression patch and regression still passes for me.  There's
still an outstanding question of whether looping gives the correct result
in the presence of explicit inserts and set constraints immediate in
before triggers.