pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Simon Riggs <simon@2ndQuadrant.com>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: MERGE post-commit review
Date: Thu, 05 Apr 2018 08:56:36 +0000
Message-ID: <E1f40hA-0000Rt-LK@gemulon.postgresql.org> (raw)

MERGE post-commit review

Review comments from Andres Freund

* Consolidate code into AfterTriggerGetTransitionTable()
* Rename nodeMerge.c to execMerge.c
* Rename nodeMerge.h to execMerge.h
* Move MERGE handling in ExecInitModifyTable()
  into a execMerge.c ExecInitMerge()
* Move mt_merge_subcommands flags into execMerge.h
* Rename opt_and_condition to opt_merge_when_and_condition
* Wordsmith various comments

Author: Pavan Deolasee
Reviewer: Simon Riggs

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/4b2d44031f8c005f6f86364d7663858b6b5bdd14

Modified Files
--------------
src/backend/commands/trigger.c                    | 192 ++++++++------
src/backend/executor/Makefile                     |   4 +-
src/backend/executor/README                       |  11 +-
src/backend/executor/{nodeMerge.c => execMerge.c} | 302 +++++++++++++++-------
src/backend/executor/execPartition.c              |   9 +-
src/backend/executor/nodeModifyTable.c            | 109 +-------
src/backend/optimizer/plan/setrefs.c              |  16 +-
src/backend/parser/gram.y                         |  12 +-
src/include/executor/execMerge.h                  |  31 +++
src/include/executor/nodeMerge.h                  |  22 --
src/include/executor/nodeModifyTable.h            |   1 +
11 files changed, 384 insertions(+), 325 deletions(-)



Message-ID: <E1f40hA-0000Rt-LK@gemulon.postgresql.org>
Permalink:  ../E1f40hA-0000Rt-LK@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1f40hA-0000Rt-LK@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: simon@2ndQuadrant.com
  Subject: Re: pgsql: MERGE post-commit review
  In-Reply-To: <E1f40hA-0000Rt-LK@gemulon.postgresql.org>
  References: <E1f40hA-0000Rt-LK@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