From: Pavan Deolasee Date: Thu, 15 Jun 2017 05:26:26 +0000 (+0530) Subject: Check for SQLValueFunction node in shippability walker X-Git-Tag: XL_10_R1BETA1~276 X-Git-Url: http://git.postgresql.org/gitweb/static/gitweb.js?a=commitdiff_plain;h=386000b5eb0380d51a92cc164dcb597887b6e19d;p=postgres-xl.git Check for SQLValueFunction node in shippability walker --- diff --git a/src/backend/optimizer/util/pgxcship.c b/src/backend/optimizer/util/pgxcship.c index d8fbaa591f..aee3197ac3 100644 --- a/src/backend/optimizer/util/pgxcship.c +++ b/src/backend/optimizer/util/pgxcship.c @@ -807,6 +807,14 @@ pgxc_shippability_walker(Node *node, Shippability_context *sc_context) } break; + case T_SQLValueFunction: + /* + * XXX PG10MERGE: Do we really need to do any checks here? + * Shouldn't all SQLValueFunctions be shippable? + */ + pgxc_set_exprtype_shippability(exprType(node), sc_context); + break; + case T_Aggref: { Aggref *aggref = (Aggref *)node;