]> granicus.if.org Git - postgresql/commitdiff
Fix header inclusion issue.
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 12 Feb 2019 03:37:16 +0000 (22:37 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 12 Feb 2019 03:37:24 +0000 (22:37 -0500)
partprune.h failed to compile by itself; needs to include partdefs.h.

I think I must've broken this in fa2cf164a, though I'd swear I ran
the appropriate tests when removing #includes.  Anyway, it's very
sensible for this file to include partdefs.h, so let's just do that.

Per cpluspluscheck.

src/include/partitioning/partprune.h

index 397ffaab369fd322f9c4fe61e329f14b0901f5fa..2f75717ffbb38bcb3cdbc567d75128b3097be6be 100644 (file)
@@ -15,6 +15,8 @@
 #define PARTPRUNE_H
 
 #include "nodes/execnodes.h"
+#include "partitioning/partdefs.h"
+
 struct PlannerInfo;                            /* avoid including pathnodes.h here */
 struct RelOptInfo;