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

From: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: pg_dump: Have _EndLO report errno after CFH->write_func() failur
Date: 2023-05-17 17:01:32
Message-ID: E1pzKWq-000Mix-Vt@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/98bd4c72fd6c4f9d6a2b3b449cb89f335116ab5a

Modified Files
--------------
src/bin/pg_dump/pg_backup_directory.c | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Alvaro Herrera 2023-05-17 17:18:24 pgsql: pg_dump: Error message improvements
Previous Message Tom Lane 2023-05-17 15:46:20 pgsql: Track tlist_vinfo.varnullingrels even in non-Assert builds.