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

Commit5d6b800

Browse files
author
Nikita Glukhov
committed
TMP: Optimize DatumGetJson()
1 parent5d43d5c commit5d6b800

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,8 @@ DatumGetJson(Datum value, JsonContainerOps *ops, Json *tmp)
121121
{
122122
Json*json=JsonExpandDatum(value,ops,tmp);
123123

124-
JsonInit(json);
124+
//JsonInit(json);
125+
json->root.ops->init(&json->root,json->obj.value);
125126

126127
returnjson;
127128
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp