Re: [PATCH] Fix fd leak in pg_dump compression backends when dup()+fdopen() fails
Jianghua Yang <yjhjstz@gmail.com>
From: Jianghua Yang <yjhjstz@gmail.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-hackers@lists.postgresql.org
Date: 2026-03-19T18:28:49Z
Lists: 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 >
Commits
-
Avoid leaking duplicated file descriptors in corner cases.
- 8b02c22bb43c 19 (unreleased) landed
-
Fix expanding 'bounds' in pg_trgm's calc_word_similarity() function
- 18bcdb75d155 19 (unreleased) cited
-
Introduce a generic pg_dump compression API
- e9960732a961 16.0 cited