We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ba480f8 commit a060f12Copy full SHA for a060f12
src/backend/utils/adt/jsonb_typanalyze.c
@@ -134,6 +134,9 @@ typedef struct JsonValueStats
134
JsonScalarStats numerics; /* stats for JSON numerics */
135
#endif
136
137
+ JsonScalarStats lens; /* stats of object/array lengths */
138
+ JsonScalarStats arrlens; /* stats of array lengths */
139
+
140
/* stats for booleans */
141
struct
142
{
@@ -146,9 +149,6 @@ typedef struct JsonValueStats
146
149
int narrays; /* number of JSON arrays */
147
150
int nstrings; /* number of JSON strings */
148
151
int nnumerics; /* number of JSON numerics */
-
- JsonScalarStats lens; /* stats of object lengths */
- JsonScalarStats arrlens; /* stats of array lengths */
152
} JsonValueStats;
153
154
/* ??? */
0 commit comments