[HACKERS] Repetitive code in RI triggers - Mailing list pgsql-hackers

From Ildar Musin
Subject [HACKERS] Repetitive code in RI triggers
Date
Msg-id ca7064a7-6adc-6f22-ca47-8615ba9425a5@postgrespro.ru
Whole thread Raw
Responses Re: [HACKERS] Repetitive code in RI triggers
List 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.musin@postgrespro.ru

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Attachment

pgsql-hackers by date:

Previous
From: Alex K
Date:
Subject: Re: [HACKERS] GSOC'17 project introduction: Parallel COPY executionwith errors handling
Next
From: Andres Freund
Date:
Subject: Re: [HACKERS] GCC 7 warnings