Back-patch Jan's fix to avoid primary key lookup (and lock) if foreign key
Tom Lane <tgl@sss.pgh.pa.us>
Back-patch Jan's fix to avoid primary key lookup (and lock) if foreign key does not change on UPDATE.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/utils/adt/ri_triggers.c | modified | +33 −7 |
| src/test/regress/expected/foreign_key.out | modified | +1 −1 |