Re: memory leak in auto_explain - Mailing list pgsql-hackers

From Jeff Janes
Subject Re: memory leak in auto_explain
Date
Msg-id CAMkU=1xO0ZX24Ekf5BU=w57Mwkq4dwWj3=B4X3fko4E1qvC4Bg@mail.gmail.com
Whole thread Raw
In response to memory leak in auto_explain  (Jeff Janes <jeff.janes@gmail.com>)
Responses Re: memory leak in auto_explain
List pgsql-hackers
On Mon, Feb 1, 2021 at 6:09 PM Jeff Janes <jeff.janes@gmail.com> wrote: 
  

create or replace function gibberish(int) returns text language SQL as $_$ select left(string_agg(md5(random()::text),$$$$),$1) from generate_series(0,$1/32) $_$;

create table j1 as select x, md5(random()::text) as t11, gibberish(1500) as t12 from generate_series(1,20e6) f(x);

I should have added, found it on HEAD, verified it also in 12.5.

Cheers,

Jeff

pgsql-hackers by date:

Previous
From: Jeff Janes
Date:
Subject: memory leak in auto_explain
Next
From: Thomas Munro
Date:
Subject: Re: Fix DROP TABLESPACE on Windows with ProcSignalBarrier?