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

Commit1be6c2b

Browse files
author
Nikita Glukhov
committed
Use jsonb_partial_detoast GUC
1 parent3f322af commit1be6c2b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

‎contrib/jsonb_toaster/jsonb_toaster.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2089,6 +2089,9 @@ jsonxzInitWithHeader(JsonContainerData *jc, Datum value, JsonbContainerHdr *head
20892089
oldcxt=MemoryContextSwitchTo(mcxt);
20902090
#endif
20912091

2092+
if (!jsonb_partial_detoast&&VARATT_IS_EXTERNAL_ONDISK(value))
2093+
value=PointerGetDatum(detoast_external_attr((structvarlena*)DatumGetPointer(value)));
2094+
20922095
iter=jsonx_create_detoast_iterator((structvarlena*)DatumGetPointer(value));
20932096

20942097
#ifdefJSONB_FREE_ITERATORS

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp