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

Commitd9a38c5

Browse files
committed
Rename NodeTag of ExprState
Rename from tag to type, for consistency with all other node structs.Discussion:https://www.postgresql.org/message-id/flat/c1097590-a6a4-486a-64b1-e1f9cc0533ce@enterprisedb.com
1 parent81d5995 commitd9a38c5

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

‎src/backend/executor/execExpr.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,7 @@ ExecBuildProjectionInfo(List *targetList,
363363

364364
projInfo->pi_exprContext=econtext;
365365
/* We embed ExprState into ProjectionInfo instead of doing extra palloc */
366-
projInfo->pi_state.tag=T_ExprState;
366+
projInfo->pi_state.type=T_ExprState;
367367
state=&projInfo->pi_state;
368368
state->expr= (Expr*)targetList;
369369
state->parent=parent;
@@ -531,7 +531,7 @@ ExecBuildUpdateProjection(List *targetList,
531531

532532
projInfo->pi_exprContext=econtext;
533533
/* We embed ExprState into ProjectionInfo instead of doing extra palloc */
534-
projInfo->pi_state.tag=T_ExprState;
534+
projInfo->pi_state.type=T_ExprState;
535535
state=&projInfo->pi_state;
536536
if (evalTargetList)
537537
state->expr= (Expr*)targetList;

‎src/include/nodes/execnodes.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ typedef Datum (*ExprStateEvalFunc) (struct ExprState *expression,
6060

6161
typedefstructExprState
6262
{
63-
NodeTagtag;
63+
NodeTagtype;
6464

6565
uint8flags;/* bitmask of EEO_FLAG_* bits, see above */
6666

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp