Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit f5d7fc8

Browse files
author
Nikita Glukhov
committed
Rename Ctor => Constructor
1 parent ed9e79b commit f5d7fc8

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/backend/executor/execExprInterp.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1601,14 +1601,14 @@ ExecInterpExpr(ExprState *state, ExprContext *econtext, bool *isnull)
16011601
}
16021602
else if (ctor->type == JSCTOR_JSON_PARSE)
16031603
{
1604-
if (op->d.json_ctor.arg_nulls[0])
1604+
if (op->d.json_constructor.arg_nulls[0])
16051605
{
16061606
res = (Datum) 0;
16071607
isnull = true;
16081608
}
16091609
else
16101610
{
1611-
Datum value = op->d.json_ctor.arg_values[0];
1611+
Datum value = op->d.json_constructor.arg_values[0];
16121612
text *js = DatumGetTextP(value);
16131613

16141614
if (is_jsonb)

src/backend/parser/parse_expr.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4962,7 +4962,7 @@ transformJsonParseExpr(ParseState *pstate, JsonParseExpr *jsexpr)
49624962
false, returning->typid);
49634963
}
49644964

4965-
return makeJsonCtorExpr(pstate, JSCTOR_JSON_PARSE, list_make1(arg), NULL,
4965+
return makeJsonConstructorExpr(pstate, JSCTOR_JSON_PARSE, list_make1(arg), NULL,
49664966
returning, jsexpr->unique_keys, false,
49674967
jsexpr->location);
49684968
}

0 commit comments

Comments
 (0)