aboutsummaryrefslogtreecommitdiff
path: root/src/backend/parser/parse_expr.c
diff options
context:
space:
mode:
authorAmit Langote <amitlan@postgresql.org>2023-07-13 22:20:40 +0900
committerAmit Langote <amitlan@postgresql.org>2023-07-13 22:26:10 +0900
commit328f492d2565cfbe383f13a69425d751fd79415f (patch)
tree03acab7d5dd75fa0b6e6cbf6876eddf6101ce75c /src/backend/parser/parse_expr.c
parente1c83e7b964f45aa39818134f8a2d46f2d03a38d (diff)
downloadpostgresql-328f492d2565cfbe383f13a69425d751fd79415f.tar.gz
postgresql-328f492d2565cfbe383f13a69425d751fd79415f.zip
Fix code indentation violation in commit b6e1157e7d
Per buildfarm member koel via Andrew Dunstan.
Diffstat (limited to 'src/backend/parser/parse_expr.c')
-rw-r--r--src/backend/parser/parse_expr.c7
1 files 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.