Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit00d3822

Browse files
author
Nikita Glukhov
committed
Add jsonb_iter_cache
1 parent33a263a commit00d3822

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
booljsonb_partial_decompression= true;/* GUC */
161161
booljsonb_partial_detoast= true;/* GUC */
162162

163+
void**jsonb_iter_cache;
164+
MemoryContextjsonb_iter_cache_mcxt;
165+
163166
JsonValue*
164167
JsonValueUnpackBinary(constJsonValue*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
externvoidjsonbRegisterIterator(GenericDetoastIteratoriter);
268268

269+
externvoid**jsonb_iter_cache;
270+
externMemoryContextjsonb_iter_cache_mcxt;
271+
269272
#endif/* __JSONB_H__ */

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp