I wrote:
> Jeff Janes <jeff(dot)janes(at)gmail(dot)com> writes:
>> The culprit is f2dec34e19d3969ddd6.
> Hmm. I bet problem is that the buf isn't being freed in
> printtup_shutdown.
Yup; the attached fixes it. Will push after a bit more testing.
regards, tom lane