postgres.git / summary / log / commit / refs
commit 328f492d2565cfbe383f13a69425d751fd79415f
Author: Amit Langote <amitlan@postgresql.org>
Date: Thu Jul 13 13:20:40 2023 +0000
First released in: 17.0
Fix code indentation violation in commit b6e1157e7d
Per buildfarm member koel via Andrew Dunstan.
src/backend/parser/parse_expr.c | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/src/backend/parser/parse_expr.c b/src/backend/parser/parse_expr.c
index 26344743e40..13a06ce76fb 100644
--- a/src/backend/parser/parse_expr.c
+++ b/src/backend/parser/parse_expr.c
@@ -3521,9 +3521,9 @@ makeJsonConstructorExpr(ParseState *pstate, JsonConstructorType type,
/*
* Coerce to the RETURNING type and format, if needed. We abuse
- * CaseTestExpr here as placeholder to pass the result of either evaluating
- * 'fexpr' or whatever is produced by ExecEvalJsonConstructor() that is of
- * 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 of type JSON or JSONB to the coercion function.
*/
if (fexpr)
{
@@ -3632,6 +3632,7 @@ transformJsonArrayQueryConstructor(ParseState *pstate,
colref->location = ctor->location;
agg->arg = makeJsonValueExpr((Expr *) colref, ctor->format);
+
/*
* No formatting necessary, so set formatted_expr to be the same as
* raw_expr.
[parent: e1c83e7b964f]