Takahiro Itagaki <itagaki.takahiro@oss.ntt.co.jp> writes:
> Thanks for the report! Please check whether the attached patch
> is the correct fix. An additional regression test is included.
That's going to provoke "uninitialized variable" compiler warnings,
but otherwise it seems reasonably sane.
I don't particularly see the point of the added regression test.
regards, tom lane