From: Michael Paquier Date: Thu, 19 Jul 2018 00:02:09 +0000 (+0900) Subject: Fix re-parameterize of MergeAppendPath X-Git-Tag: REL_11_BETA3~66 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6365ebacdd08f988cd31572c7190c8f08194bf5d;p=postgresql Fix re-parameterize of MergeAppendPath Instead of MergeAppendPath, MergeAppend nodes were considered. This code is not covered by any tests now, which should be addressed at some point. This is an oversight from f49842d, which introduced partition-wise joins in v11, so back-patch down to that. Author: Michael Paquier Reviewed-by: Ashutosh Bapat Discussion: https://postgr.es/m/20180718062202.GC8565@paquier.xyz --- diff --git a/src/backend/optimizer/util/pathnode.c b/src/backend/optimizer/util/pathnode.c index d9651d8090..c5aaaf5c22 100644 --- a/src/backend/optimizer/util/pathnode.c +++ b/src/backend/optimizer/util/pathnode.c @@ -3817,7 +3817,7 @@ do { \ } break; - case T_MergeAppend: + case T_MergeAppendPath: { MergeAppendPath *mapath;