File tree 2 files changed +12
-10
lines changed
2 files changed +12
-10
lines changed Original file line number Diff line number Diff line change @@ -64,16 +64,6 @@ typedef struct CompressedDatum
64
64
int decompressed_len ;
65
65
} CompressedDatum ;
66
66
67
- typedef struct CompressedJsonb
68
- {
69
- #ifndef JSONB_DETOAST_ITERATOR
70
- CompressedDatum * datum ;
71
- #else
72
- DetoastIterator iter ;
73
- #endif
74
- int offset ;
75
- } CompressedJsonb ;
76
-
77
67
typedef struct JsonbKVMap
78
68
{
79
69
union
Original file line number Diff line number Diff line change @@ -161,4 +161,16 @@ typedef struct
161
161
JsonbContainerHeader root ;
162
162
} JsonbDatum ;
163
163
164
+ typedef struct CompressedJsonb
165
+ {
166
+ #ifdef NO_JSONB_DETOAST_ITERATOR
167
+ CompressedDatum * datum ;
168
+ #else
169
+ DetoastIterator iter ;
170
+ #endif
171
+ int offset ;
172
+ } CompressedJsonb ;
173
+
174
+ #define jsonbzGetCompressedJsonb (jc ) ((CompressedJsonb *) &(jc)->_data)
175
+
164
176
#endif /* __JSONB_INTERNALS_H__ */
You can’t perform that action at this time.
0 commit comments