Patch from message (87d24iukc5(dot)fsf(at)news-spur(dot)riddles(dot)org(dot)uk) fails (tried to apply on top of ebc0f5e01d2f ), as b55722692 has broken up the line (in src/backend/optimizer/util/pathnode.c):
pathnode->path.rows = estimate_num_groups(root, uniq_exprs, rel->rows);
After patching the added parameter (NULL) in by hand, the build fails as src/backend/optimizer/path/indxpath.c:1953 misses the new argument as well - this change is not in the patch.
/Svenne
The new status of this patch is: Waiting on Author