Make pg_dump and friends consistently report both the filename and the
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 28 Oct 2007 21:55:52 +0000 (21:55 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 28 Oct 2007 21:55:52 +0000 (21:55 +0000)
commit68b90c1452707329602dc1acd132be07afbc4814
treeae73d36196cfccdae198371b87b6bfa4f34ce675
parent990de0e1435357962c7bac4e77d2818e227910d0
Make pg_dump and friends consistently report both the filename and the
errno string when complaining of fopen failures.  Per gripe from Bob
Pawley, it's not always instantly obvious to the user which name we
tried to open.
src/bin/pg_dump/pg_backup_archiver.c
src/bin/pg_dump/pg_backup_custom.c
src/bin/pg_dump/pg_backup_files.c
src/bin/pg_dump/pg_backup_tar.c
src/bin/pg_dump/pg_dumpall.c