aboutsummaryrefslogtreecommitdiff
path: root/src/backend/nodes/readfuncs.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/backend/nodes/readfuncs.c')
-rw-r--r--src/backend/nodes/readfuncs.c22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/backend/nodes/readfuncs.c b/src/backend/nodes/readfuncs.c
index a6e723a273a..ecce23b747b 100644
--- a/src/backend/nodes/readfuncs.c
+++ b/src/backend/nodes/readfuncs.c
@@ -2212,6 +2212,26 @@ _readMaterial(void)
}
/*
+ * _readResultCache
+ */
+static ResultCache *
+_readResultCache(void)
+{
+ READ_LOCALS(ResultCache);
+
+ ReadCommonPlan(&local_node->plan);
+
+ READ_INT_FIELD(numKeys);
+ READ_OID_ARRAY(hashOperators, local_node->numKeys);
+ READ_OID_ARRAY(collations, local_node->numKeys);
+ READ_NODE_FIELD(param_exprs);
+ READ_BOOL_FIELD(singlerow);
+ READ_UINT_FIELD(est_entries);
+
+ READ_DONE();
+}
+
+/*
* ReadCommonSort
* Assign the basic stuff of all nodes that inherit from Sort
*/
@@ -2899,6 +2919,8 @@ parseNodeString(void)
return_value = _readHashJoin();
else if (MATCH("MATERIAL", 8))
return_value = _readMaterial();
+ else if (MATCH("RESULTCACHE", 11))
+ return_value = _readResultCache();
else if (MATCH("SORT", 4))
return_value = _readSort();
else if (MATCH("INCREMENTALSORT", 15))