We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parente1c83e7 commit328f492Copy full SHA for 328f492
src/backend/parser/parse_expr.c
@@ -3521,9 +3521,9 @@ makeJsonConstructorExpr(ParseState *pstate, JsonConstructorType type,
3521
3522
/*
3523
* Coerce to the RETURNING type and format, if needed. We abuse
3524
- * CaseTestExpr here as placeholder to pass the result of either evaluating
3525
- * 'fexpr' or whatever is produced by ExecEvalJsonConstructor() that is of
3526
- * type JSON or JSONB to the coercion function.
+ * CaseTestExpr here as placeholder to pass the result of either
+ *evaluating'fexpr' or whatever is produced by ExecEvalJsonConstructor()
+ *that is oftype JSON or JSONB to the coercion function.
3527
*/
3528
if (fexpr)
3529
{
@@ -3632,6 +3632,7 @@ transformJsonArrayQueryConstructor(ParseState *pstate,
3632
colref->location=ctor->location;
3633
3634
agg->arg=makeJsonValueExpr((Expr*)colref,ctor->format);
3635
+
3636
3637
* No formatting necessary, so set formatted_expr to be the same as
3638
* raw_expr.