aboutsummaryrefslogtreecommitdiff
path: root/src/backend/partitioning/partbounds.c
diff options
context:
space:
mode:
authorRobert Haas <rhaas@postgresql.org>2019-02-21 11:38:54 -0500
committerRobert Haas <rhaas@postgresql.org>2019-02-21 11:45:02 -0500
commit1bb5e78218107db543086e71fc162d36a955b08e (patch)
tree2a3346aaeac546a0adecebb6ee3fb167d2ae3c5f /src/backend/partitioning/partbounds.c
parent9eefba181f7782d27d85d7e94e6028371e7ab2d7 (diff)
downloadpostgresql-1bb5e78218107db543086e71fc162d36a955b08e.tar.gz
postgresql-1bb5e78218107db543086e71fc162d36a955b08e.zip
Move code for managing PartitionDescs into a new file, partdesc.c
This is similar in spirit to the existing partbounds.c file in the same directory, except that there's a lot less code in the new file created by this commit. Pending work in this area proposes to add a bunch more code related to PartitionDescs, though, and this will give us a good place to put it. Discussion: http://postgr.es/m/CA+TgmoZUwPf_uanjF==gTGBMJrn8uCq52XYvAEorNkLrUdoawg@mail.gmail.com
Diffstat (limited to 'src/backend/partitioning/partbounds.c')
-rw-r--r--src/backend/partitioning/partbounds.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/backend/partitioning/partbounds.c b/src/backend/partitioning/partbounds.c
index d478ae7e19b..e71eb3793bc 100644
--- a/src/backend/partitioning/partbounds.c
+++ b/src/backend/partitioning/partbounds.c
@@ -10,7 +10,8 @@
* src/backend/partitioning/partbounds.c
*
*-------------------------------------------------------------------------
-*/
+ */
+
#include "postgres.h"
#include "access/heapam.h"
@@ -23,8 +24,9 @@
#include "nodes/makefuncs.h"
#include "nodes/nodeFuncs.h"
#include "parser/parse_coerce.h"
-#include "partitioning/partprune.h"
#include "partitioning/partbounds.h"
+#include "partitioning/partdesc.h"
+#include "partitioning/partprune.h"
#include "utils/builtins.h"
#include "utils/datum.h"
#include "utils/fmgroids.h"