Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit a060f12

Browse files
author
Nikita Glukhov
committed
Move JsonValueStats .lens and .arrlens closer to other JsonScalarStats fields
1 parent ba480f8 commit a060f12

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/backend/utils/adt/jsonb_typanalyze.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,9 @@ typedef struct JsonValueStats
134134
JsonScalarStats numerics; /* stats for JSON numerics */
135135
#endif
136136

137+
JsonScalarStats lens; /* stats of object/array lengths */
138+
JsonScalarStats arrlens; /* stats of array lengths */
139+
137140
/* stats for booleans */
138141
struct
139142
{
@@ -146,9 +149,6 @@ typedef struct JsonValueStats
146149
int narrays; /* number of JSON arrays */
147150
int nstrings; /* number of JSON strings */
148151
int nnumerics; /* number of JSON numerics */
149-
150-
JsonScalarStats lens; /* stats of object lengths */
151-
JsonScalarStats arrlens; /* stats of array lengths */
152152
} JsonValueStats;
153153

154154
/* ??? */

0 commit comments

Comments
 (0)