Robert Haas <robertmh...@gmail.com> writes: > Thanks for the review. Updated patch attached.
Looks OK to me. Would it be worth annotating the added regression test case with a comment that this once caused EPQ-related planning problems? regards, tom lane