RangeTblEntry *rte;
ListCell *l;
- newspec = (PartitionSpec *) makeNode(PartitionSpec);
+ newspec = makeNode(PartitionSpec);
newspec->strategy = partspec->strategy;
newspec->location = partspec->location;
}
else
{
- state = (ExprState *) makeNode(ExprState);
+ state = makeNode(ExprState);
state->evalfunc = ExecEvalScalarVar;
}
break;
case T_Const:
- state = (ExprState *) makeNode(ExprState);
+ state = makeNode(ExprState);
state->evalfunc = ExecEvalConst;
break;
case T_Param:
- state = (ExprState *) makeNode(ExprState);
+ state = makeNode(ExprState);
switch (((Param *) node)->paramkind)
{
case PARAM_EXEC:
}
break;
case T_CoerceToDomainValue:
- state = (ExprState *) makeNode(ExprState);
+ state = makeNode(ExprState);
state->evalfunc = ExecEvalCoerceToDomainValue;
break;
case T_CaseTestExpr:
- state = (ExprState *) makeNode(ExprState);
+ state = makeNode(ExprState);
state->evalfunc = ExecEvalCaseTestExpr;
break;
case T_Aggref:
}
break;
case T_SQLValueFunction:
- state = (ExprState *) makeNode(ExprState);
+ state = makeNode(ExprState);
state->evalfunc = ExecEvalSQLValueFunction;
break;
case T_XmlExpr:
}
break;
case T_CurrentOfExpr:
- state = (ExprState *) makeNode(ExprState);
+ state = makeNode(ExprState);
state->evalfunc = ExecEvalCurrentOfExpr;
break;
case T_TargetEntry:
*/
WithCheckOption *wco;
- wco = (WithCheckOption *) makeNode(WithCheckOption);
+ wco = makeNode(WithCheckOption);
wco->kind = kind;
wco->relname = pstrdup(RelationGetRelationName(rel));
wco->polname = NULL;
qual = copyObject(qual);
ChangeVarNodes((Node *) qual, 1, rt_index, 0);
- wco = (WithCheckOption *) makeNode(WithCheckOption);
+ wco = makeNode(WithCheckOption);
wco->kind = kind;
wco->relname = pstrdup(RelationGetRelationName(rel));
wco->polname = pstrdup(policy->policy_name);
*/
WithCheckOption *wco;
- wco = (WithCheckOption *) makeNode(WithCheckOption);
+ wco = makeNode(WithCheckOption);
wco->kind = kind;
wco->relname = pstrdup(RelationGetRelationName(rel));
wco->polname = NULL;