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

Commitc53efdf

Browse files
author
Nikita Glukhov
committed
Remove handling of JSON parsing errors in JSON_TABLE
1 parent8173736 commitc53efdf

File tree

1 file changed

+1
-18
lines changed

1 file changed

+1
-18
lines changed

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

Lines changed: 1 addition & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -10536,24 +10536,7 @@ get_json_table(TableFunc *tf, deparse_context *context, bool showimplicit)
1053610536

1053710537
appendContextKeyword(context,"",0,0,0);
1053810538

10539-
get_rule_expr(jexpr->raw_expr,context,showimplicit);
10540-
10541-
if (jexpr->format->format!=JS_FORMAT_DEFAULT)
10542-
{
10543-
appendStringInfoString(buf,
10544-
jexpr->format->format==JS_FORMAT_JSONB ?
10545-
" FORMAT JSONB" :" FORMAT JSON");
10546-
10547-
if (jexpr->format->encoding!=JS_ENC_DEFAULT)
10548-
{
10549-
constchar*encoding=
10550-
jexpr->format->encoding==JS_ENC_UTF16 ?"UTF16" :
10551-
jexpr->format->encoding==JS_ENC_UTF32 ?"UTF32" :
10552-
"UTF8";
10553-
10554-
appendStringInfo(buf," ENCODING %s",encoding);
10555-
}
10556-
}
10539+
get_rule_expr(jexpr->formatted_expr,context,showimplicit);
1055710540

1055810541
appendStringInfoString(buf,", ");
1055910542

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp