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

From Ildar Musin
Subject [HACKERS] Repetitive code in RI triggers
Date
Msg-id [email protected]
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
[email protected]

-- 
Sent via pgsql-hackers mailing list ([email protected])
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