Re: Avoid resource leak (src/test/regress/pg_regress.c)
Álvaro Herrera <alvherre@kurilemu.de>
From: Álvaro Herrera <alvherre@kurilemu.de>
To: Ranier Vilela <ranier.vf@gmail.com>
Cc: Michael Paquier <michael@paquier.xyz>, Pg Hackers <pgsql-hackers@postgresql.org>
Date: 2025-10-24T12:21:42Z
Lists: pgsql-hackers
On 2025-Oct-24, Ranier Vilela wrote: > Em sex., 24 de out. de 2025 às 03:03, Michael Paquier > <michael@paquier.xyz> escreveu: > > This is just one of them, allocated in the context of what is a > > short-term execution. > > In this case, I believe pg_regress is run, thousands of times, on > hundreds of computers. Yes, but the memory is released at the end of the program execution, every single one of those times. -- Álvaro Herrera PostgreSQL Developer — https://www.EnterpriseDB.com/