diff options
| author | Alvaro Herrera | 2018-04-15 00:12:14 +0000 |
|---|---|---|
| committer | Alvaro Herrera | 2018-04-15 00:12:14 +0000 |
| commit | da6f3e45ddb68ab3161076e120e7c32cfd46d1db (patch) | |
| tree | ce5b30869c67d8be6a86fd6f8f0ba95b5ed61e73 /src/include/executor | |
| parent | b39fd897e0398a6bdc6552daa7cacdf9c0e46d7e (diff) | |
Reorganize partitioning code
There's been a massive addition of partitioning code in PostgreSQL 11,
with little oversight on its placement, resulting in a
catalog/partition.c with poorly defined boundaries and responsibilities.
This commit tries to set a couple of distinct modules to separate things
a little bit. There are no code changes here, only code movement.
There are three new files:
src/backend/utils/cache/partcache.c
src/include/partitioning/partdefs.h
src/include/utils/partcache.h
The previous arrangement of #including catalog/partition.h almost
everywhere is no more.
Authors: Amit Langote and Álvaro Herrera
Discussion: https://postgr.es/m/[email protected]
https://postgr.es/m/[email protected]
https://postgr.es/m/[email protected]
https://postgr.es/m/[email protected]
Diffstat (limited to 'src/include/executor')
| -rw-r--r-- | src/include/executor/execPartition.h | 1 | ||||
| -rw-r--r-- | src/include/executor/executor.h | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/src/include/executor/execPartition.h b/src/include/executor/execPartition.h index 0c36c8be30c..e81bdc4a0a6 100644 --- a/src/include/executor/execPartition.h +++ b/src/include/executor/execPartition.h @@ -13,7 +13,6 @@ #ifndef EXECPARTITION_H #define EXECPARTITION_H -#include "catalog/partition.h" #include "nodes/execnodes.h" #include "nodes/parsenodes.h" #include "nodes/plannodes.h" diff --git a/src/include/executor/executor.h b/src/include/executor/executor.h index 45a077a949c..6214d193809 100644 --- a/src/include/executor/executor.h +++ b/src/include/executor/executor.h @@ -14,7 +14,6 @@ #ifndef EXECUTOR_H #define EXECUTOR_H -#include "catalog/partition.h" #include "executor/execdesc.h" #include "nodes/parsenodes.h" #include "utils/memutils.h" |
