pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter@eisentraut.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Merge near-duplicate code in RI triggers
Date: Thu, 28 Feb 2019 19:44:12 +0000
Message-ID: <E1gzRbI-0000bC-5L@gemulon.postgresql.org> (raw)

Merge near-duplicate code in RI triggers

Merge ri_setnull and ri_setdefault into one function ri_set.  These
functions were to a large part identical.

This is a continuation in spirit of
4797f9b519995ceca5d6b8550b5caa2ff6d19347.

Author: Corey Huinker <corey.huinker@gmail.com>
Discussion: https://www.postgresql.org/message-id/flat/0ccdd3e1-10b0-dd05-d8a7-183507c11eb1%402ndquadrant.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/3f61999cc9da68890174dd8cf97f2cb96b223e81

Modified Files
--------------
src/backend/utils/adt/ri_triggers.c | 181 ++++++++----------------------------
1 file changed, 40 insertions(+), 141 deletions(-)



view thread (2+ messages)

Message-ID: <E1gzRbI-0000bC-5L@gemulon.postgresql.org>
Permalink:  ../E1gzRbI-0000bC-5L@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1gzRbI-0000bC-5L@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: peter@eisentraut.org
  Subject: Re: pgsql: Merge near-duplicate code in RI triggers
  In-Reply-To: <E1gzRbI-0000bC-5L@gemulon.postgresql.org>
  References: <E1gzRbI-0000bC-5L@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox