Hi Zhenglong, > Attached is v7. Apart from the docs, it is v6 rebased onto the > current master (f03a0f87963), with no code changes. Regression tests > pass with 0001 alone and with both patches.
Thanks for v7. The docs read well, splitting them between the two patches makes sense, and I'm fine with the guards as they are. cfbot is green on v7. I also looked at planning time once more. With the GUC on, ordinary joins grouped by their join keys plan a few tens of microseconds slower than on master, from the extra paths and orderings the patches consider. With the GUC off, planning time is the same as on master. That seems a fair price for the saved sorts. If you have nothing more to change, may I mark it Ready for Committer? Best regards, Henson
