Richard Guo <guofenglinux(at)gmail(dot)com> writes:
> After spending a bit more time experimenting, I couldn't find a better
> query that shows a large difference between the costs of the PRSJ plan
> and the patched version plan. So I've updated the test case to use
> the aforementioned one. I also removed the reset statements and
> switched to the begin/rollback pattern for the test case.
v2 patch LGTM.
regards, tom lane