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 |
Message-ID: | ca7064a7-6adc-6f22-ca47-8615ba9425a5@postgrespro.ru |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
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.
Thanks,
--
Ildar Musin
i(dot)musin(at)postgrespro(dot)ru
Attachment | Content-Type | Size |
---|---|---|
ri_patch.diff | text/x-patch | 27.4 KB |
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 |