Robert Haas <robertmhaas(at)gmail(dot)com> writes:> Tom, do you want to double-check that this fixes it for you?
I can confirm that a valgrind run succeeded for me with the patchin place.
regards, tom lane