pgsql: Merge near-duplicate code in RI triggers

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема pgsql: Merge near-duplicate code in RI triggers
Дата
Msg-id E1gzRbI-0000bC-5L@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
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(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: Standardize some more loops that chase down parallel lists.
Следующее
От: Alvaro Herrera
Дата:
Сообщение: pgsql: pg_dump: Fix ArchiveEntry handling of some empty values