Repetitive code in RI triggers

From: Ildar Musin <i(dot)musin(at)postgrespro(dot)ru>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Repetitive code in RI triggers
Date: 2017-04-10 15:55:04
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

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.

Ildar Musin

Attachment Content-Type Size
ri_patch.diff text/x-patch 27.4 KB


Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2017-04-10 16:10:07 Re: GCC 7 warnings
Previous Message Alex K 2017-04-10 15:39:16 Re: GSOC'17 project introduction: Parallel COPY execution with errors handling