File tree Expand file tree Collapse file tree 2 files changed +9
-6
lines changed Expand file tree Collapse file tree 2 files changed +9
-6
lines changed Original file line number Diff line number Diff line change 33
33
#define JSONB_MAX_ELEMS (Min(MaxAllocSize / sizeof(JsonbValue), JB_CMASK))
34
34
#define JSONB_MAX_PAIRS (Min(MaxAllocSize / sizeof(JsonbPair), JB_CMASK))
35
35
36
+ /* Conversion state used when parsing Jsonb from text, or for type coercion */
37
+ struct JsonbParseState
38
+ {
39
+ JsonbValue contVal ;
40
+ Size size ;
41
+ struct JsonbParseState * next ;
42
+ };
43
+
36
44
static void fillJsonbValue (JsonbContainer * container , int index ,
37
45
char * base_addr , uint32 offset ,
38
46
JsonbValue * result );
Original file line number Diff line number Diff line change @@ -301,12 +301,7 @@ struct JsonbPair
301
301
};
302
302
303
303
/* Conversion state used when parsing Jsonb from text, or for type coercion */
304
- typedef struct JsonbParseState
305
- {
306
- JsonbValue contVal ;
307
- Size size ;
308
- struct JsonbParseState * next ;
309
- } JsonbParseState ;
304
+ typedef struct JsonbParseState JsonbParseState ;
310
305
311
306
/*
312
307
* JsonbIterator holds details of the type for each iteration. It also stores a
You can’t perform that action at this time.
0 commit comments