Improve comments about why SET DEFAULT triggers must recheck for matches.

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

Commit: 48756be9cf31c37a936eecff051bf143d5866551
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2012-06-19T02:45:07Z
Releases: 9.3.0
Improve comments about why SET DEFAULT triggers must recheck for matches.

I was confused about this, so try to make it clearer for the next person.

(This seems like a fairly inefficient way of dealing with a corner case,
but I don't have a better idea offhand.  Maybe if there were a way to turn
off the RI_FKey_keyequal_upd_fk event filter temporarily?)

Files

PathChange+/−
src/backend/utils/adt/ri_triggers.c modified +20 −12