summaryrefslogtreecommitdiff
path: root/src/include/nodes
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/nodes')
-rw-r--r--src/include/nodes/queryjumble.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/include/nodes/queryjumble.h b/src/include/nodes/queryjumble.h
index 905f66bc0bd..62794c5a901 100644
--- a/src/include/nodes/queryjumble.h
+++ b/src/include/nodes/queryjumble.h
@@ -54,6 +54,18 @@ typedef struct JumbleState
/* highest Param id we've seen, in order to start normalization correctly */
int highest_extern_param_id;
+
+ /*
+ * Count of the number of NULL nodes seen since last appending a value.
+ * These are flushed out to the jumble buffer before subsequent appends
+ * and before performing the final jumble hash.
+ */
+ unsigned int pending_nulls;
+
+#ifdef USE_ASSERT_CHECKING
+ /* The total number of bytes added to the jumble buffer */
+ Size total_jumble_len;
+#endif
} JumbleState;
/* Values for the compute_query_id GUC */