diff options
author | Pavan Deolasee | 2017-06-15 05:26:26 +0000 |
---|---|---|
committer | Pavan Deolasee | 2017-06-15 05:26:26 +0000 |
commit | 386000b5eb0380d51a92cc164dcb597887b6e19d (patch) | |
tree | 434561bd3b190c5f04c9017bbe26653a04c954a4 | |
parent | feaba753951ee1749390242192d53e2e2560e0b0 (diff) |
Check for SQLValueFunction node in shippability walker
-rw-r--r-- | src/backend/optimizer/util/pgxcship.c | 8 |
1 files changed, 8 insertions, 0 deletions
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; |