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.96) (envelope-from ) id 1w3I4m-0015Dv-1d for pgsql-hackers@arkaria.postgresql.org; Thu, 19 Mar 2026 18:26:32 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1w3I4l-001nFe-05 for pgsql-hackers@arkaria.postgresql.org; Thu, 19 Mar 2026 18:26:31 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1w3I4k-001nFV-2P for pgsql-hackers@lists.postgresql.org; Thu, 19 Mar 2026 18:26:31 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1w3I4j-000000002hJ-2Bkl for pgsql-hackers@lists.postgresql.org; Thu, 19 Mar 2026 18:26:30 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 62JIQSb71379705; Thu, 19 Mar 2026 14:26:28 -0400 From: Tom Lane To: Jianghua Yang cc: pgsql-hackers@lists.postgresql.org Subject: Re: [PATCH] Fix fd leak in pg_dump compression backends when dup()+fdopen() fails In-reply-to: <1305470.1773941734@sss.pgh.pa.us> References: <62bbe34d-2315-4b42-b768-56d901aa83e1@gmail.com> <1302471.1773940095@sss.pgh.pa.us> <1305470.1773941734@sss.pgh.pa.us> Comments: In-reply-to Tom Lane message dated "Thu, 19 Mar 2026 13:35:34 -0400" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1379703.1773944788.1@sss.pgh.pa.us> Date: Thu, 19 Mar 2026 14:26:28 -0400 Message-ID: <1379704.1773944788@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk I wrote: > Fair point. Still, this is such an unlikely edge-case that > I don't think it's worth a back-patch. Let's just do HEAD. Pushed. I also looked around for other instances of the same pattern, and couldn't find any. regards, tom lane