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

Commit6f4d63e

Browse files
committed
Add missing initialization in transformJsonFuncExpr()
de36004 added some code for the new JSON_TABLE_OP to that functionbut missed to initialize the default_format variable.Reported-by: Erik Rijkers <er@xs4all.nl>Discussion:https://postgr.es/m/254b2fa2-2f6b-a30a-20ee-21f8a2c12a50@xs4all.nl
1 parent2f6e78b commit6f4d63e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

‎src/backend/parser/parse_expr.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4272,6 +4272,7 @@ transformJsonFuncExpr(ParseState *pstate, JsonFuncExpr *func)
42724272
break;
42734273
caseJSON_TABLE_OP:
42744274
func_name="JSON_TABLE";
4275+
default_format=JS_FORMAT_JSONB;
42754276
break;
42764277
default:
42774278
elog(ERROR,"invalid JsonFuncExpr op %d", (int)func->op);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp