Re: [PATCH] Fix fd leak in pg_dump compression backends when dup()+fdopen() fails

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Jianghua Yang <yjhjstz(at)gmail(dot)com>
Cc: pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: [PATCH] Fix fd leak in pg_dump compression backends when dup()+fdopen() fails
Date: 2026-03-19 18:26:28
Message-ID: 1379704.1773944788@sss.pgh.pa.us
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Jianghua Yang 2026-03-19 18:28:49 Re: [PATCH] Fix fd leak in pg_dump compression backends when dup()+fdopen() fails
Previous Message Lukas Fittl 2026-03-19 18:11:16 Re: EXPLAIN: showing ReadStream / prefetch stats