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

Commit01ee7ea

Browse files
author
Nikita Glukhov
committed
FIXME Use JsonContainerIsToasted() in JsonContainerFlatten()
1 parent5e9e24f commit01ee7ea

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

‎src/backend/utils/adt/jsonb_util.c

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,16 @@ JsonContainerFlatten(JsonContainer *jc, JsonValueEncoder encoder,
204204
returnout;
205205
}
206206

207+
#if0/* FIXME */
208+
if (ops==&jsonbContainerOps&&jc->ops==&jsonbzContainerOps)
209+
{
210+
JsonbToastedContainerPointerjbcptr;
211+
212+
if (JsonContainerIsToasted(jc,&jbcptr))
213+
returnjsonbMakeToastPointer(&jbcptr.ptr);
214+
}
215+
#endif
216+
207217
if (binary)
208218
Assert(binary->type==jbvBinary);
209219
else

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp