Re: No error checking when reading from file using zstd in pg_dump

Daniel Gustafsson <daniel@yesql.se>

From: Daniel Gustafsson <daniel@yesql.se>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Tomas Vondra <tomas@vondra.me>, Evgeniy Gorbanev <gorbanyoves@basealt.ru>, pgsql-hackers@lists.postgresql.org
Date: 2025-06-26T18:01:11Z
Lists: pgsql-hackers

Attachments

> On 26 Jun 2025, at 15:33, Tom Lane <tgl@sss.pgh.pa.us> wrote:

> So on the whole I prefer the "void" approach.  I'm not dead
> set on that though, it's just a niggling worry.

I think the likelyhood of it being a problem in practice is pretty slim, but
it's still a stronger argument than my "match an API we're still not aligned
with". The attached v7 reverts back to void return.

--
Daniel Gustafsson

Commits

  1. pg_dump: Fix compression API errorhandling