Re: replication slot stats memory bug - Mailing list pgsql-hackers

From Amit Kapila
Subject Re: replication slot stats memory bug
Date
Msg-id CAA4eK1K+wX_VHouDWWTH1q2w-N7iUMM4FLxdqsbqb3CbrS84zg@mail.gmail.com
Whole thread Raw
In response to Re: replication slot stats memory bug  (Andres Freund <andres@anarazel.de>)
List pgsql-hackers
On Thu, Mar 18, 2021 at 4:55 AM Andres Freund <andres@anarazel.de> wrote:
>
> Hi,
>
> On 2021-03-17 16:04:47 -0700, Andres Freund wrote:
> > I'll push the minimal fix of forcing the allocation to happen in
> > pgStatLocalContext and setting it to NULL in pgstat_clear_snapshot().
>
> Done: https://git.postgresql.org/gitweb/?p=postgresql.git;a=commit;h=5f79580ad69f6e696365bdc63bc265f45bd77211
>

Thank you!

-- 
With Regards,
Amit Kapila.



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Getting better results from valgrind leak tracking
Next
From: Andres Freund
Date:
Subject: Re: Permission failures with WAL files in 13~ on Windows