Repetitive code in RI triggers
Ildar Musin <i.musin@postgrespro.ru>
From: Ildar Musin <i.musin@postgrespro.ru>
To: pgsql-hackers@postgresql.org
Date: 2017-04-10T15:55:04Z
Lists: pgsql-hackers
Attachments
- ri_patch.diff (text/x-patch) patch
Hi all, I was looking through the RI triggers code recently and noticed a few almost identical functions, e.g. ri_restrict_upd() and ri_restrict_del(). The following patch is an attempt to reduce some of repetitive code. Yet there is still room for improvement. Thanks, -- Ildar Musin i.musin@postgrespro.ru
Commits
-
Merge near-duplicate code in RI triggers.
- 4797f9b51999 11.0 landed