mirror of https://github.com/citusdata/citus.git
Handle ExecEvalExprSwitchContext changes
Weirdly, this is one of the places PostgreSQL _removed_ an argument. We only passed NULL anyways, so just removing it works.pull/1439/head
parent
6c48c93b6a
commit
6fbfe33c51
|
@ -364,7 +364,11 @@ citus_evaluate_expr(Expr *expr, Oid result_type, int32 result_typmod,
|
|||
/*
|
||||
* And evaluate it.
|
||||
*/
|
||||
#if (PG_VERSION_NUM >= 100000)
|
||||
const_val = ExecEvalExprSwitchContext(exprstate, econtext, &const_is_null);
|
||||
#else
|
||||
const_val = ExecEvalExprSwitchContext(exprstate, econtext, &const_is_null, NULL);
|
||||
#endif
|
||||
|
||||
/* Get info needed about result datatype */
|
||||
get_typlenbyval(result_type, &resultTypLen, &resultTypByVal);
|
||||
|
|
Loading…
Reference in New Issue