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

Commitf5d7fc8

Browse files
author
Nikita Glukhov
committed
Rename Ctor => Constructor
1 parented9e79b commitf5d7fc8

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
elseif (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-
Datumvalue=op->d.json_ctor.arg_values[0];
1611+
Datumvalue=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-
returnmakeJsonCtorExpr(pstate,JSCTOR_JSON_PARSE,list_make1(arg),NULL,
4965+
returnmakeJsonConstructorExpr(pstate,JSCTOR_JSON_PARSE,list_make1(arg),NULL,
49664966
returning,jsexpr->unique_keys, false,
49674967
jsexpr->location);
49684968
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp