Alexander Lakhin <exclusion(at)gmail(dot)com> writes:
> Thank you very much for the detailed explanation and for the final patch!
> I have no questions regarding the fix proposed.
> I've retested it with my demo test just to be sure and encountered no
> issues.
Pushed, thanks for testing!
regards, tom lane