On Thu, Apr 4, 2019 at 4:06 AM Ashutosh Sharma <ashu.coe...@gmail.com> wrote: > Attached is the patch with above changes. Please let me know if my > understanding is wrong. Thanks.
You have it right. This bug slipped in towards the end of development, when the insertstate struct was introduced. I have pushed something very close to the patch you posted. (I added an additional assertion, and tweaked the comments.) Thanks for the report and patch! -- Peter Geoghegan