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

Commit30d1379

Browse files
committed
Fix ExprState's tag to be of type NodeTag rather than Node.
This appears to have been an oversight inb8d7f05. As it'seffectively harmless, though confusing, only fix in master.Author: Andres Freund
1 parentd6e612f commit30d1379

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

‎src/backend/executor/execExpr.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,7 @@ ExecBuildProjectionInfo(List *targetList,
361361

362362
projInfo->pi_exprContext=econtext;
363363
/* We embed ExprState into ProjectionInfo instead of doing extra palloc */
364-
projInfo->pi_state.tag.type=T_ExprState;
364+
projInfo->pi_state.tag=T_ExprState;
365365
state=&projInfo->pi_state;
366366
state->expr= (Expr*)targetList;
367367
state->parent=parent;

‎src/include/nodes/execnodes.h

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

6262
typedefstructExprState
6363
{
64-
Nodetag;
64+
NodeTagtag;
6565

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

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp