pg_dump: Have _EndLO report errno after CFH->write_func() failure

Alvaro Herrera <alvherre@alvh.no-ip.org>

Commit: 98bd4c72fd6c4f9d6a2b3b449cb89f335116ab5a
Author: Alvaro Herrera <alvherre@alvh.no-ip.org>
Date: 2023-05-17T16:55:51Z
Releases: 16.0
pg_dump: Have _EndLO report errno after CFH->write_func() failure

Other callers of that function do things this way, but this one didn't
get the memo.

Files

PathChange+/−
src/bin/pg_dump/pg_backup_directory.c modified +7 −1