]> granicus.if.org Git - postgresql/commitdiff
Fix re-parameterize of MergeAppendPath
authorMichael Paquier <michael@paquier.xyz>
Thu, 19 Jul 2018 00:01:57 +0000 (09:01 +0900)
committerMichael Paquier <michael@paquier.xyz>
Thu, 19 Jul 2018 00:01:57 +0000 (09:01 +0900)
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

index d9651d8090e4c6b5fc3d6ec08151300578ebc963..c5aaaf5c2202e3bcc245fa812535fe749bf55fc6 100644 (file)
@@ -3817,7 +3817,7 @@ do { \
                        }
                        break;
 
-               case T_MergeAppend:
+               case T_MergeAppendPath:
                        {
                                MergeAppendPath *mapath;