Re: [PATCH] Fix fd leak in pg_dump compression backends when dup()+fdopen() fails - Mailing list pgsql-hackers

From Jianghua Yang
Subject Re: [PATCH] Fix fd leak in pg_dump compression backends when dup()+fdopen() fails
Date
Msg-id CAAZLFmQEN6zSf32pQRsD5r1prNrVWs5+YAqA6FY++yvvrWgW_w@mail.gmail.com
Whole thread
In response to Re: [PATCH] Fix fd leak in pg_dump compression backends when dup()+fdopen() fails  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Thanks for pushing and for the extra scan.

  Regards,
  Jianghua Yang

Tom Lane <tgl@sss.pgh.pa.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

pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [PATCH] Fix fd leak in pg_dump compression backends when dup()+fdopen() fails
Next
From: Gyan Sreejith
Date:
Subject: Re: [Proposal] Adding Log File Capability to pg_createsubscriber