Re: BUG #15700: PG 10 vs. 11: Large increase in memory usage when selecting BYTEA data (maybe memory leak)
Matthias Otterbach <mo@otterbach.eu>
From: Matthias Otterbach <mo@otterbach.eu>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Jeff Janes <jeff.janes@gmail.com>, Andres Freund <andres@anarazel.de>,
pgsql-bugs@lists.postgresql.org
Date: 2019-03-19T07:08:52Z
Lists: pgsql-bugs
Dear all, On 2019-03-18 23:00, Tom Lane wrote: > I wrote: >> Yup; the attached fixes it. Will push after a bit more testing. > > Done now, but I forgot to credit Jeff in the commit message. > My apologies for that (too bad it's impossible to edit commit > messages after the fact). thanks a lot for your replies and the quick fix, I also re-tested it just now (compiling from the current 11 branch) and could not reproduce my memory issue anymore. Thanks again, best regards Matthias Otterbach
Commits
-
Fix memory leak in printtup.c.
- adf27de8eabb 11.3 landed
- f2004f19ed9c 12.0 landed
-
Use one stringbuffer for all rows printed in printtup.c.
- f2dec34e19d3 11.0 cited