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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy