mirror of
https://github.com/postgres/postgres.git
synced 2025-07-08 11:42:09 +03:00
Fix ExprState's tag to be of type NodeTag rather than Node.
This appears to have been an oversight in b8d7f053c5
. As it's
effectively harmless, though confusing, only fix in master.
Author: Andres Freund
This commit is contained in:
@ -361,7 +361,7 @@ ExecBuildProjectionInfo(List *targetList,
|
||||
|
||||
projInfo->pi_exprContext = econtext;
|
||||
/* We embed ExprState into ProjectionInfo instead of doing extra palloc */
|
||||
projInfo->pi_state.tag.type = T_ExprState;
|
||||
projInfo->pi_state.tag = T_ExprState;
|
||||
state = &projInfo->pi_state;
|
||||
state->expr = (Expr *) targetList;
|
||||
state->parent = parent;
|
||||
|
Reference in New Issue
Block a user