postgresql/src/bin
Alvaro Herrera 2e155d90d1
Ensure write failure reports no-disk-space
A few places calling fwrite and gzwrite were not setting errno to ENOSPC
when reporting errors, as is customary; this led to some failures being
reported as
"could not write file: Success"
which makes us look silly.  Make a few of these places in pg_dump and
pg_basebackup use our customary pattern.

Backpatch-to: 9.5
Author: Justin Pryzby <pryzby@telsasoft.com>
Author: Tom Lane <tgl@sss.pgh.pa.us>
Author: Álvaro Herrera <alvherre@alvh.no-ip.org>
Discussion: https://postgr.es/m/20200611153753.GU14879@telsasoft.com
2020-06-19 16:46:07 -04:00
..
initdb Update Windows timezone name list to include currently-known zones. 2020-04-24 17:53:23 -04:00
pg_archivecleanup Translation updates 2019-11-11 10:50:22 +01:00
pg_basebackup Ensure write failure reports no-disk-space 2020-06-19 16:46:07 -04:00
pg_config Translation updates 2019-11-11 10:50:22 +01:00
pg_controldata Translation updates 2019-11-11 10:50:22 +01:00
pg_ctl Translation updates 2020-02-10 13:06:23 +01:00
pg_dump Ensure write failure reports no-disk-space 2020-06-19 16:46:07 -04:00
pg_resetwal Translation updates 2019-11-11 10:50:22 +01:00
pg_rewind Translation updates 2020-05-11 13:24:12 +02:00
pg_test_fsync Translation updates 2019-11-11 10:50:22 +01:00
pg_test_timing Translation updates 2019-11-11 10:50:22 +01:00
pg_upgrade pg_upgrade: set vacuum_defer_cleanup_age to zero 2020-06-15 20:59:40 -04:00
pg_verify_checksums Translation updates 2020-05-11 13:24:12 +02:00
pg_waldump Translation updates 2020-02-10 13:06:23 +01:00
pgbench Fix integer-overflow edge case detection in interval_mul and pgbench. 2019-11-07 11:23:00 -05:00
pgevent Update copyright for 2018 2018-01-02 23:30:12 -05:00
psql Translation updates 2020-05-11 13:24:12 +02:00
scripts Translation updates 2020-05-11 13:24:12 +02:00
Makefile Allow on-line enabling and disabling of data checksums 2018-04-05 22:04:48 +02:00