diff options
| author | Pavan Deolasee | 2016-02-04 13:55:08 +0000 |
|---|---|---|
| committer | Pavan Deolasee | 2016-10-18 09:48:14 +0000 |
| commit | b8b5cc1a9e22915cb006f0172dbb137a772795e8 (patch) | |
| tree | 2ab4a9d4fa2d29395722dcbdcf7ff111eaa6313d | |
| parent | 076dae8ff2a956ecffb1588c9735a92bc0bca09c (diff) | |
Handle MergeAppend node correctly while determing param types.
Report by Krzysztof Nienartowicz, patch by me.
| -rw-r--r-- | src/backend/pgxc/pool/execRemote.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/backend/pgxc/pool/execRemote.c b/src/backend/pgxc/pool/execRemote.c index 232c706728..913563b5e1 100644 --- a/src/backend/pgxc/pool/execRemote.c +++ b/src/backend/pgxc/pool/execRemote.c @@ -4951,6 +4951,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; |
