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

From: Jianghua Yang <yjhjstz(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
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:28:49
Message-ID: CAAZLFmQEN6zSf32pQRsD5r1prNrVWs5+YAqA6FY++yvvrWgW_w@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Thanks for pushing and for the extra scan.

Regards,
Jianghua Yang

Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> 于2026年3月19日周四 11:26写道:

> 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

Browse pgsql-hackers by date

  From Date Subject
Next Message Gyan Sreejith 2026-03-19 18:29:38 Re: [Proposal] Adding Log File Capability to pg_createsubscriber
Previous Message Tom Lane 2026-03-19 18:26:28 Re: [PATCH] Fix fd leak in pg_dump compression backends when dup()+fdopen() fails