Re: Report a potential memory leak in PostgresSQL 14.1 - Mailing list pgsql-bugs

From Daniel Gustafsson
Subject Re: Report a potential memory leak in PostgresSQL 14.1
Date
Msg-id 5374E2C6-891C-4303-A743-E39306E7F72D@yesql.se
Whole thread Raw
In response to Report a potential memory leak in PostgresSQL 14.1  (wliang@stu.xidian.edu.cn)
List pgsql-bugs
> On 14 Feb 2022, at 11:02, wliang@stu.xidian.edu.cn wrote:

Thanks for you report.

>  4112         AssignDumpId(&pubrinfo[j].dobj);

AssignDumpId records the DumpableObject and keeps a reference to this memory,
have a read of that function and I think you'll see how the memory is managed.

--
Daniel Gustafsson        https://vmware.com/




pgsql-bugs by date:

Previous
From: wliang@stu.xidian.edu.cn
Date:
Subject: Report a potential memory leak in PostgresSQL 14.1
Next
From: "Delaney, Ed"
Date:
Subject: Postgres 13.5 out parameter argument with explicit cast fails with argument is not writable