]> granicus.if.org Git - postgresql/commit
MERGE post-commit review
authorSimon Riggs <simon@2ndQuadrant.com>
Thu, 5 Apr 2018 08:54:07 +0000 (09:54 +0100)
committerSimon Riggs <simon@2ndQuadrant.com>
Thu, 5 Apr 2018 08:54:07 +0000 (09:54 +0100)
commit4b2d44031f8c005f6f86364d7663858b6b5bdd14
tree821dec0027fe8caa8ce50250e20a1e594d738e7e
parent1fd8690668635bab9dfa16b2885e6e474f8451ba
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
src/backend/commands/trigger.c
src/backend/executor/Makefile
src/backend/executor/README
src/backend/executor/execMerge.c [moved from src/backend/executor/nodeMerge.c with 82% similarity]
src/backend/executor/execPartition.c
src/backend/executor/nodeModifyTable.c
src/backend/optimizer/plan/setrefs.c
src/backend/parser/gram.y
src/include/executor/execMerge.h [new file with mode: 0644]
src/include/executor/nodeMerge.h [deleted file]
src/include/executor/nodeModifyTable.h