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 3737#define JSONB_MAX_ELEMS (Min(MaxAllocSize / sizeof(JsonbValue), JB_CMASK))
3838#define JSONB_MAX_PAIRS (Min(MaxAllocSize / sizeof(JsonbPair), JB_CMASK))
3939
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+
4048static void fillJsonbValue (JsonbContainer * container , int index ,
4149 char * base_addr , uint32 offset ,
4250 JsonbValue * result );
Original file line number Diff line number Diff line change @@ -324,12 +324,7 @@ struct JsonbPair
324324};
325325
326326/* 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 ;
333328
334329/*
335330 * 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