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

From Andres Freund
Subject Re: replication slot stats memory bug
Date
Msg-id 20210317232519.gfkqgiivpht4bxap@alap3.anarazel.de
Whole thread Raw
In response to replication slot stats memory bug  (Andres Freund <andres@anarazel.de>)
Responses Re: replication slot stats memory bug
List pgsql-hackers
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

Greetings,

Andres Freund



pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: replication slot stats memory bug
Next
From: Julien Rouhaud
Date:
Subject: Re: Feature improvement: can we add queryId for pg_catalog.pg_stat_activity view?