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

Commit9e05f3b

Browse files
committed
Fix backpatching error in commit55c8807
1 parent55c8807 commit9e05f3b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1363,7 +1363,7 @@ datum_to_json(Datum val, bool is_null, StringInfo result,
13631363
* Don't call escape_json for a non-key if it's a valid JSON
13641364
* number.
13651365
*/
1366-
if (!key_scalar&&IsValidJsonNumber(outputstr,strlen(outputstr)))
1366+
if (IsValidJsonNumber(outputstr,strlen(outputstr)))
13671367
appendStringInfoString(result,outputstr);
13681368
else
13691369
escape_json(result,outputstr);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp