On Fri, Mar 2, 2018 at 8:02 PM, Alexander Kuzmenkov <a.kuzmen...@postgrespro.ru> wrote: > On 22.02.2018 21:42, Alexander Kuzmenkov wrote: >> >> >> Some basic joins work, but I couldn't properly test all the corner cases >> with different orderings, because they depend on a bug in vanilla merge >> joins [1]. >> > > The bug was fixed, so here is the rebased patch. The planner part of the > patch is stable now and can be reviewed, too. >
Both the patches are named 01. Their names tell the order in which they need to be applied, so it's ok for these patches. But creating such patches using git format-patch (with -v as some suggest) really helps in general. All you need to do is prepare commits in your repository, one per patch, including changes in each patch in separate commits and then run git format-patch on that repository. I use git format-patch @{upstream}, but there are other ways also. Then you can use git rebase to rebase your patches periodically. If you are already doing that, sorry for the noise. -- Best Wishes, Ashutosh Bapat EnterpriseDB Corporation The Postgres Database Company