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:
62368da
)
Handle MergeAppend node correctly while determing param types.
author
Pavan Deolasee
<
[email protected]
>
Thu, 4 Feb 2016 13:55:08 +0000
(14:55 +0100)
committer
Pavan Deolasee
<
[email protected]
>
Thu, 4 Feb 2016 13:55:08 +0000
(14:55 +0100)
Report by Krzysztof Nienartowicz, patch by me.
src/backend/pgxc/pool/execRemote.c
patch
|
blob
|
blame
|
history
diff --git
a/src/backend/pgxc/pool/execRemote.c
b/src/backend/pgxc/pool/execRemote.c
index 223eddd3253e8d95ff71c781a539625637110ab9..e52355f21120ba89d1c635cc7f6f7d28c4536294 100644
(file)
--- a/
src/backend/pgxc/pool/execRemote.c
+++ b/
src/backend/pgxc/pool/execRemote.c
@@
-4952,6
+4952,18
@@
determine_param_types(Plan *plan, struct find_params_context *context)
}
break;
+ case T_MergeAppend:
+ {
+ ListCell *l;
+
+ foreach(l, ((MergeAppend *) plan)->mergeplans)
+ {
+ if (determine_param_types((Plan *) lfirst(l), context))
+ return true;
+ }
+ }
+ break;
+
case T_BitmapAnd:
{
ListCell *l;