Re: Fix resource leak (src/backend/libpq/be-secure-common.c) - Mailing list pgsql-hackers

From Ranier Vilela
Subject Re: Fix resource leak (src/backend/libpq/be-secure-common.c)
Date
Msg-id CAEudQAodTbq9B4gg9BoLdVP9Yu_s5iyCSZnTdMyyJN1BRqY-KA@mail.gmail.com
Whole thread Raw
In response to Re: Fix resource leak (src/backend/libpq/be-secure-common.c)  (Daniel Gustafsson <daniel@yesql.se>)
List pgsql-hackers
Em ter., 14 de mai. de 2024 às 07:21, Daniel Gustafsson <daniel@yesql.se> escreveu:
> On 14 May 2024, at 08:03, Michael Paquier <michael@paquier.xyz> wrote:
>
> On Mon, May 13, 2024 at 08:06:57PM +0200, Daniel Gustafsson wrote:
>>> Any chance we'll have these fixes in v17?
>>
>> Nice timing, I was actually rebasing them today to get them committed.
>
> Looks sensible seen from here, as these paths could use a LOG or rely
> on a memory context permanent to the backend causing junk to be
> accumulated.  It's not that much, still that would accumulate.

Pushed.
Thanks Daniel.

best regards,
Ranier Vilela

pgsql-hackers by date:

Previous
From: David Rowley
Date:
Subject: Re: Incorrect Assert in BufFileSize()?
Next
From: Aleksander Alekseev
Date:
Subject: Re: Postgres and --config-file option