postgres.git / summary / log / commit / refs
commit 6365ebacdd08f988cd31572c7190c8f08194bf5d
Author: Michael Paquier <michael@paquier.xyz>
Date: Thu Jul 19 00:02:09 2018 +0000
First released in: 12.0, 11.0
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
src/backend/optimizer/util/pathnode.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/backend/optimizer/util/pathnode.c b/src/backend/optimizer/util/pathnode.c
index d9651d8090e..c5aaaf5c220 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;
[parent: ade18277a0dc]