Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1s6pI2-001zXp-AQ for pgsql-hackers@arkaria.postgresql.org; Tue, 14 May 2024 10:21:47 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1s6pI1-00CbEH-Eg for pgsql-hackers@arkaria.postgresql.org; Tue, 14 May 2024 10:21:45 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1s6pI1-00CbE9-4U for pgsql-hackers@lists.postgresql.org; Tue, 14 May 2024 10:21:45 +0000 Received: from smtp.outgoing.loopia.se ([93.188.3.37]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1s6pHy-000AsS-1a for pgsql-hackers@postgresql.org; Tue, 14 May 2024 10:21:44 +0000 Received: from s807.loopia.se (localhost [127.0.0.1]) by s807.loopia.se (Postfix) with ESMTP id 2F97230194F2 for ; Tue, 14 May 2024 12:21:42 +0200 (CEST) Received: from s981.loopia.se (unknown [172.22.191.5]) by s807.loopia.se (Postfix) with ESMTP id 1FE162E2934A; Tue, 14 May 2024 12:21:42 +0200 (CEST) Received: from s473.loopia.se (unknown [172.22.191.5]) by s981.loopia.se (Postfix) with ESMTP id 1D4CE22B1743; Tue, 14 May 2024 12:21:42 +0200 (CEST) X-Virus-Scanned: amavisd-new at amavis.loopia.se X-Spam-Flag: NO X-Spam-Score: -1.2 X-Spam-Level: X-Spam-Status: No, score=-1.2 tagged_above=-999 required=6.2 tests=[ALL_TRUSTED=-1, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1] autolearn=disabled Authentication-Results: s473.loopia.se (amavisd-new); dkim=pass (2048-bit key) header.d=yesql.se Received: from s899.loopia.se ([172.22.191.6]) by s473.loopia.se (s473.loopia.se [172.22.190.13]) (amavisd-new, port 10024) with UTF8LMTP id WI_SqB7mendT; Tue, 14 May 2024 12:21:41 +0200 (CEST) X-Loopia-Auth: user X-Loopia-User: daniel@yesql.se X-Loopia-Originating-IP: 89.255.232.193 Received: from smtpclient.apple (customer-89-255-232-193.stosn.net [89.255.232.193]) (Authenticated sender: daniel@yesql.se) by s899.loopia.se (Postfix) with ESMTPSA id 901962C8BACA; Tue, 14 May 2024 12:21:41 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yesql.se; s=loopiadkim1707475645; t=1715682101; bh=yrqjRAtf4u14nFadbGwX5w2wAEhjt+0/tKExpdpjz0Y=; h=Subject:From:In-Reply-To:Date:Cc:References:To; b=dLcmLIvsi8S8KLdqIEVAAUKbwgD/I9OPxw8LwLtb/BlEsODiI6u1Eq2/e1gwe5K0S wWouNSMfjy5KZWHnU62aJiya4UpGPxxUDjmJ+lVLBL/mz5YKg97S71g7x7sdQh9BgH Kz1T5bDGFrl6Hb1aNCGdRrqgff5KTNpP5nCrJM2fM8N2zvlvncFa0di6O+QF2WbA4k fysKi00omng4mHnRzLCqsVqkAUzddXlpPD4ciQleAP2fS8TKdmvScAf9HDLCkvPU1T kJecg0UUnrp9NJKSecZ+x/OIUCY1cC1L+R8F05mdj24a8JetM6UEMJhjueVkVeIoWM 0WHZRiAmeMO+g== Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3774.500.171.1.1\)) Subject: Re: Fix resource leak (src/backend/libpq/be-secure-common.c) From: Daniel Gustafsson In-Reply-To: Date: Tue, 14 May 2024 12:21:31 +0200 Cc: Ranier Vilela , PostgreSQL Hackers Content-Transfer-Encoding: 7bit Message-Id: <160D403D-9DD8-42E8-AD26-7261DC243156@yesql.se> References: <88E977CA-5951-4D51-B594-489ACF3DA10C@yesql.se> To: Michael Paquier X-Mailer: Apple Mail (2.3774.500.171.1.1) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk > On 14 May 2024, at 08:03, Michael Paquier 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. -- Daniel Gustafsson