projects
/
postgres-xl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
feaba75
)
Check for SQLValueFunction node in shippability walker
author
Pavan Deolasee
<
[email protected]
>
Thu, 15 Jun 2017 05:26:26 +0000
(10:56 +0530)
committer
Pavan Deolasee
<
[email protected]
>
Thu, 15 Jun 2017 05:26:26 +0000
(10:56 +0530)
src/backend/optimizer/util/pgxcship.c
patch
|
blob
|
blame
|
history
diff --git
a/src/backend/optimizer/util/pgxcship.c
b/src/backend/optimizer/util/pgxcship.c
index d8fbaa591f2bbb373fe6898ffc9245b7d671f6eb..aee3197ac38efb012a6c1cb6f0ead1fe4f97a6e3 100644
(file)
--- 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;