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
This commit is contained in:
parent
81d5995b4b
commit
d9a38c52ce
@ -363,7 +363,7 @@ ExecBuildProjectionInfo(List *targetList,
|
|||||||
|
|
||||||
projInfo->pi_exprContext = econtext;
|
projInfo->pi_exprContext = econtext;
|
||||||
/* We embed ExprState into ProjectionInfo instead of doing extra palloc */
|
/* We embed ExprState into ProjectionInfo instead of doing extra palloc */
|
||||||
projInfo->pi_state.tag = T_ExprState;
|
projInfo->pi_state.type = T_ExprState;
|
||||||
state = &projInfo->pi_state;
|
state = &projInfo->pi_state;
|
||||||
state->expr = (Expr *) targetList;
|
state->expr = (Expr *) targetList;
|
||||||
state->parent = parent;
|
state->parent = parent;
|
||||||
@ -531,7 +531,7 @@ ExecBuildUpdateProjection(List *targetList,
|
|||||||
|
|
||||||
projInfo->pi_exprContext = econtext;
|
projInfo->pi_exprContext = econtext;
|
||||||
/* We embed ExprState into ProjectionInfo instead of doing extra palloc */
|
/* We embed ExprState into ProjectionInfo instead of doing extra palloc */
|
||||||
projInfo->pi_state.tag = T_ExprState;
|
projInfo->pi_state.type = T_ExprState;
|
||||||
state = &projInfo->pi_state;
|
state = &projInfo->pi_state;
|
||||||
if (evalTargetList)
|
if (evalTargetList)
|
||||||
state->expr = (Expr *) targetList;
|
state->expr = (Expr *) targetList;
|
||||||
|
@ -60,7 +60,7 @@ typedef Datum (*ExprStateEvalFunc) (struct ExprState *expression,
|
|||||||
|
|
||||||
typedef struct ExprState
|
typedef struct ExprState
|
||||||
{
|
{
|
||||||
NodeTag tag;
|
NodeTag type;
|
||||||
|
|
||||||
uint8 flags; /* bitmask of EEO_FLAG_* bits, see above */
|
uint8 flags; /* bitmask of EEO_FLAG_* bits, see above */
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user