File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -92,7 +92,14 @@ typedef struct JsonPathEntry
92
92
93
93
#define JsonPathEntryIsArray (entry ) ((entry)->len == -1)
94
94
95
- /* An array containing a dynamic number of JSON values. */
95
+ /*
96
+ * An array containing a dynamic number of values extracted from JSON documents.
97
+ * All values should have the same data type:
98
+ * jsonb - ordinary path stats, values of different JSON types
99
+ * int32 - array/object length stats
100
+ * text - separate stats fro strings
101
+ * numeric - separate stats fro numbers
102
+ */
96
103
typedef struct JsonValues
97
104
{
98
105
Datum * buf ;
@@ -103,8 +110,6 @@ typedef struct JsonValues
103
110
/*
104
111
* Scalar statistics built for an array of values, extracted from a JSON
105
112
* document (for one particular path).
106
- *
107
- * XXX The array can contain values of different JSON type, probably?
108
113
*/
109
114
typedef struct JsonScalarStats
110
115
{
You can’t perform that action at this time.
0 commit comments