diff options
author | Robert Haas <rhaas@postgresql.org> | 2017-11-15 10:23:28 -0500 |
---|---|---|
committer | Robert Haas <rhaas@postgresql.org> | 2017-11-15 10:26:25 -0500 |
commit | 4e5fe9ad19e14af360de7970caa8b150436c9dec (patch) | |
tree | 95526a43235178d03305a6e1dd632d16b66f6870 /src/backend/executor/nodeModifyTable.c | |
parent | cd8ce3a22c0b48d32ffe6543837ba3bb647ac2b2 (diff) | |
download | postgresql-4e5fe9ad19e14af360de7970caa8b150436c9dec.tar.gz postgresql-4e5fe9ad19e14af360de7970caa8b150436c9dec.zip |
Centralize executor-related partitioning code.
Some code is moved from partition.c, which has grown very quickly lately;
splitting the executor parts out might help to keep it from getting
totally out of control. Other code is moved from execMain.c. All is
moved to a new file execPartition.c. get_partition_for_tuple now has
a new interface that more clearly separates executor concerns from
generic concerns.
Amit Langote. A slight comment tweak by me.
Discussion: http://postgr.es/m/1f0985f8-3b61-8bc4-4350-baa6d804cb6d@lab.ntt.co.jp
Diffstat (limited to 'src/backend/executor/nodeModifyTable.c')
-rw-r--r-- | src/backend/executor/nodeModifyTable.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/backend/executor/nodeModifyTable.c b/src/backend/executor/nodeModifyTable.c index 0027d21253f..503b89f6063 100644 --- a/src/backend/executor/nodeModifyTable.c +++ b/src/backend/executor/nodeModifyTable.c @@ -40,6 +40,7 @@ #include "access/htup_details.h" #include "access/xact.h" #include "commands/trigger.h" +#include "executor/execPartition.h" #include "executor/executor.h" #include "executor/nodeModifyTable.h" #include "foreign/fdwapi.h" |