public inbox for [email protected]  
help / color / mirror / Atom feed
From: Matt Carter <[email protected]>
To: Tom Lane <[email protected]>
Cc: [email protected] <[email protected]>
Subject: RE: BUG #19411: libpq 16.x exhibits a memory leak when connections are repeatedly created and destroyed
Date: Tue, 17 Feb 2026 23:12:15 +0000
Message-ID: <BL3PR08MB72834BCE3E34DB8BFB24ED61996DA@BL3PR08MB7283.namprd08.prod.outlook.com> (raw)
In-Reply-To: <BL3PR08MB72838C12A57F4D9668D27AF0996DA@BL3PR08MB7283.namprd08.prod.outlook.com>
References: <[email protected]>
	<[email protected]>
	<BL3PR08MB728301C87997AF17C743633A996DA@BL3PR08MB7283.namprd08.prod.outlook.com>
	<[email protected]>
	<BL3PR08MB72838C12A57F4D9668D27AF0996DA@BL3PR08MB7283.namprd08.prod.outlook.com>

Matt Carter wrote:
> Tom, since your C test showed no leak, the issue is likely in how psycopg2 calls libpq, not pure libpq itself.

FYI, I have reported the issue to the psycopg project:
https://github.com/psycopg/psycopg2/issues/1827

Thanks you for your help, Tom.  Your test results helped show that this is likely a psycopg2 issue.

Cheers,
Matt


reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected], [email protected]
  Subject: RE: BUG #19411: libpq 16.x exhibits a memory leak when connections are repeatedly created and destroyed
  In-Reply-To: <BL3PR08MB72834BCE3E34DB8BFB24ED61996DA@BL3PR08MB7283.namprd08.prod.outlook.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox