aboutsummaryrefslogtreecommitdiff
path: root/src/include/utils/partcache.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/utils/partcache.h')
-rw-r--r--src/include/utils/partcache.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/include/utils/partcache.h b/src/include/utils/partcache.h
index 3394e1fcdba..c45fc3a3ac1 100644
--- a/src/include/utils/partcache.h
+++ b/src/include/utils/partcache.h
@@ -13,6 +13,7 @@
#include "access/attnum.h"
#include "fmgr.h"
+#include "nodes/parsenodes.h"
#include "nodes/pg_list.h"
#include "nodes/primnodes.h"
#include "partitioning/partdefs.h"
@@ -23,7 +24,7 @@
*/
typedef struct PartitionKeyData
{
- char strategy; /* partitioning strategy */
+ PartitionStrategy strategy; /* partitioning strategy */
int16 partnatts; /* number of columns in the partition key */
AttrNumber *partattrs; /* attribute numbers of columns in the
* partition key or 0 if it's an expr */