Andreas Karlsson <andreas@proxel.se> writes:
> Thanks for cleaning up the code to some sanity, I should have done so
> myself when I noticed the problem.
> A new version is attached.
Committed with minor adjustments --- I didn't see any need to make this
wait for the next commitfest.
regards, tom lane