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 37
37
#define JSONB_MAX_ELEMS (Min(MaxAllocSize / sizeof(JsonbValue), JB_CMASK))
38
38
#define JSONB_MAX_PAIRS (Min(MaxAllocSize / sizeof(JsonbPair), JB_CMASK))
39
39
40
+ /* Conversion state used when parsing Jsonb from text, or for type coercion */
41
+ struct JsonbParseState
42
+ {
43
+ JsonbValue contVal ;
44
+ Size size ;
45
+ struct JsonbParseState * next ;
46
+ };
47
+
40
48
static void fillJsonbValue (JsonbContainer * container , int index ,
41
49
char * base_addr , uint32 offset ,
42
50
JsonbValue * result );
Original file line number Diff line number Diff line change @@ -324,12 +324,7 @@ struct JsonbPair
324
324
};
325
325
326
326
/* Conversion state used when parsing Jsonb from text, or for type coercion */
327
- typedef struct JsonbParseState
328
- {
329
- JsonbValue contVal ;
330
- Size size ;
331
- struct JsonbParseState * next ;
332
- } JsonbParseState ;
327
+ typedef struct JsonbParseState JsonbParseState ;
333
328
334
329
/*
335
330
* 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