Re: BUG #15700: PG 10 vs. 11: Large increase in memory usage when selecting BYTEA data (maybe memory leak) - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #15700: PG 10 vs. 11: Large increase in memory usage when selecting BYTEA data (maybe memory leak)
Date
Msg-id 13467.1552942521@sss.pgh.pa.us
Whole thread Raw
In response to Re: BUG #15700: PG 10 vs. 11: Large increase in memory usage whenselecting BYTEA data (maybe memory leak)  (Jeff Janes <jeff.janes@gmail.com>)
Responses Re: BUG #15700: PG 10 vs. 11: Large increase in memory usage when selecting BYTEA data (maybe memory leak)
Re: BUG #15700: PG 10 vs. 11: Large increase in memory usage whenselecting BYTEA data (maybe memory leak)
List pgsql-bugs
Jeff Janes <jeff.janes@gmail.com> writes:
> The culprit is f2dec34e19d3969ddd6.

Hmm.  I bet problem is that the buf isn't being freed in
printtup_shutdown.

> Also, it doesn't depend on bytea, it
> leaks for text as well.

Yeah, I'd expected that it wasn't particularly bytea's fault.

            regards, tom lane


pgsql-bugs by date:

Previous
From: Andres Freund
Date:
Subject: Re: BUG #15700: PG 10 vs. 11: Large increase in memory usage whenselecting BYTEA data (maybe memory leak)
Next
From: Tom Lane
Date:
Subject: Re: BUG #15700: PG 10 vs. 11: Large increase in memory usage when selecting BYTEA data (maybe memory leak)