Re: Repetitive code in RI triggers
Daniel Gustafsson <daniel@yesql.se>
From: Daniel Gustafsson <daniel@yesql.se>
To: Ildar Musin <i.musin@postgrespro.ru>
Cc: Pgsql Hackers <pgsql-hackers@postgresql.org>,
Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Date: 2017-09-19T08:09:04Z
Lists: pgsql-hackers
> On 11 Apr 2017, at 03:41, Peter Eisentraut <peter.eisentraut@2ndquadrant.com> wrote: > > On 4/10/17 11:55, Ildar Musin wrote: >> 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. > > That looks like something worth pursuing. Please add it to the next > commit fest. Removing reviewer Maksim Milyutin from patch entry due to inactivity and community account email bouncing. Maksim: if you are indeed reviewing this patch, then please update the community account and re-add to the patch entry. cheers ./daniel
Commits
-
Merge near-duplicate code in RI triggers.
- 4797f9b51999 11.0 landed