Re: Repetitive code in RI triggers

From: Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>
To: Ildar Musin <i(dot)musin(at)postgrespro(dot)ru>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Repetitive code in RI triggers
Date: 2017-04-11 01:41:27
Message-ID: 47da34d3-35d1-b35d-921e-75365207bbac@2ndquadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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.

--
Peter Eisentraut http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2017-04-11 01:47:11 Re: SCRAM authentication, take three
Previous Message Peter Eisentraut 2017-04-11 01:36:59 Re: error handling in RegisterBackgroundWorker