Content-Length: 282469 | pFad | http://github.com/postgrespro/postgres/commit/00d38226f6313bf77c8f6b20cb4cd2204e59b90c

00 Add jsonb_iter_cache · postgrespro/postgres@00d3822 · GitHub
Skip to content

Commit 00d3822

Browse files
author
Nikita Glukhov
committed
Add jsonb_iter_cache
1 parent 33a263a commit 00d3822

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

src/backend/utils/adt/jsonb_util.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,9 @@ bool jsonb_sort_field_values = true; /* GUC */
160160
bool jsonb_partial_decompression = true; /* GUC */
161161
bool jsonb_partial_detoast = true; /* GUC */
162162

163+
void **jsonb_iter_cache;
164+
MemoryContext jsonb_iter_cache_mcxt;
165+
163166
JsonValue *
164167
JsonValueUnpackBinary(const JsonValue *jbv)
165168
{

src/include/utils/jsonb.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -266,4 +266,7 @@ extern MemoryContext jsonbGetIteratorContext(void);
266266
#endif
267267
extern void jsonbRegisterIterator(GenericDetoastIterator iter);
268268

269+
extern void **jsonb_iter_cache;
270+
extern MemoryContext jsonb_iter_cache_mcxt;
271+
269272
#endif /* __JSONB_H__ */

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/00d38226f6313bf77c8f6b20cb4cd2204e59b90c

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy