]> granicus.if.org Git - postgresql/commit
Merge near-duplicate code in RI triggers
authorPeter Eisentraut <peter@eisentraut.org>
Thu, 28 Feb 2019 18:08:55 +0000 (19:08 +0100)
committerPeter Eisentraut <peter@eisentraut.org>
Thu, 28 Feb 2019 19:35:55 +0000 (20:35 +0100)
commit3f61999cc9da68890174dd8cf97f2cb96b223e81
treeae073fe87dd957f97ac38c21d2738f93c9718f36
parentc94fb8e8acc05c4b5f9f5b2a595ce7930827c2be
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
src/backend/utils/adt/ri_triggers.c