Jeff Janes <jeff.janes@gmail.com> writes:
> On Tue, Nov 11, 2014 at 10:11 AM, Marko Tiikkaja <marko@joh.to> wrote:
>> This sounds a lot like another bug I've seen. Can you try this patch?
> That fixes it. I've tested all lengths from 1 to 133,000
> I've added a regression test to it, in the attached.
Pushed.
regards, tom lane