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.98.2) (envelope-from ) id 1xMqXH-00000002EOX-31Gx for pgsql-bugs@arkaria.postgresql.org; Fri, 30 Oct 2026 17:37:04 +0000 Received: from localhost ([127.0.0.1]:44656 helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.98.2) (envelope-from ) id 1xMqXH-0000000BATz-0Mde for pgsql-bugs@arkaria.postgresql.org; Fri, 30 Oct 2026 17:37:03 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]:56084) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1xMqXG-0000000BATq-3Sez for pgsql-bugs@lists.postgresql.org; Fri, 30 Oct 2026 17:37:02 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1xMqXE-00000001nHh-2PAp for pgsql-bugs@lists.postgresql.org; Fri, 30 Oct 2026 17:37:02 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.18.1/8.18.1) with ESMTP id 69UHauTN2604019; Fri, 30 Oct 2026 13:36:56 -0400 DKIM-Filter: OpenDKIM Filter v2.11.0 sss.pgh.pa.us 69UHauTN2604019 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sss.pgh.pa.us; s=default; t=1793381816; bh=pB/EiCiQ3eeUYPSMadbBNk0Zv5VpHEQmtZkK1ZKEFjI=; h=From:To:cc:Subject:In-reply-to:References:Date:From; b=1UJ7tSjPcwaTI+BWd8X5Ng/qjlw7bP4uOKsHIIk8NqhP6gIXTY9gy38HG/dipCoFw pG2Bbgk4wqIr+AAG1BoAC460MxVrajntU59ACJpUXi0P0h0to3o2aLGMUwwPTtR3Kh m3WPX3vwxfoIqJWjwHT/KZhyDPJ8UTA1amoxWcoY= From: Tom Lane To: Matt Carter cc: Andres Freund , "pgsql-bugs@lists.postgresql.org" Subject: Re: BUG #19411: libpq 16.x exhibits a memory leak when connections are repeatedly created and destroyed In-reply-to: References: <19411-0440c8897a04b638@postgresql.org> <1702505.1771347709@sss.pgh.pa.us> <1881734.1771354069@sss.pgh.pa.us> <6xylkfh6idnx7ujhfhyoxku3v67ygoeve4yt7z2ytc65vzwvcv@z2sj5jnamhbe> <2114661.1793306838@sss.pgh.pa.us> <2601836.1793379300@sss.pgh.pa.us> Comments: In-reply-to Matt Carter message dated "Fri, 30 Oct 2026 17:25:28 -0000" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <2604017.1793381816.1@sss.pgh.pa.us> Date: Fri, 30 Oct 2026 13:36:56 -0400 Message-ID: <2604018.1793381816@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Matt Carter writes: > Tom Lane wrote: >> So I think what we really need is more like the attached. This passes >> our own test suite, but I wonder if you can exercise it in your own >> environment. > v1 works here. Great, that gives me enough confidence to proceed. Thanks for following through on this problem! regards, tom lane