postgresql/src/bin
Michael Paquier 5a23c74b63 Reset properly errno before calling write()
6cb3372 enforces errno to ENOSPC when less bytes than what is expected
have been written when it is unset, though it forgot to properly reset
errno before doing a system call to write(), causing errno to
potentially come from a previous system call.

Reported-by: Tom Lane
Author: Michael Paquier
Reviewed-by: Tom Lane
Discussion: https://postgr.es/m/31797.1533326676@sss.pgh.pa.us
2018-08-05 05:31:18 +09:00
..
initdb Fix misc typos, mostly in comments. 2018-07-18 16:17:32 +03:00
pg_archivecleanup Don't fall off the end of perl functions 2018-05-27 09:08:42 -04:00
pg_basebackup Reset properly errno before calling write() 2018-08-05 05:31:18 +09:00
pg_config Translation updates 2018-05-21 12:29:52 -04:00
pg_controldata Translation updates 2018-06-25 12:37:18 +02:00
pg_ctl Translation updates 2018-05-21 12:29:52 -04:00
pg_dump Further fixes for quoted-list GUC values in pg_dump and ruleutils.c. 2018-07-31 13:00:14 -04:00
pg_resetwal Flip argument order in XLogSegNoOffsetToRecPtr 2018-07-09 14:33:38 -04:00
pg_rewind Rework error messages around file handling 2018-07-18 08:01:23 +09:00
pg_test_fsync Translation updates 2018-05-21 12:29:52 -04:00
pg_test_timing Translation updates 2018-05-21 12:29:52 -04:00
pg_upgrade pg_upgrade: fix --check for live source server checks 2018-07-31 18:10:06 -04:00
pg_verify_checksums Add missing include 2018-06-20 18:19:35 +02:00
pg_waldump Rework error messages around file handling 2018-07-18 08:01:23 +09:00
pgbench Fix handling of pgbench's hash when no argument is provided 2018-07-27 13:40:24 +09:00
pgevent Update copyright for 2018 2018-01-02 23:30:12 -05:00
psql Remove no-longer-appropriate special case in psql's \conninfo code. 2018-08-03 12:20:47 -04:00
scripts Translation updates 2018-05-21 12:29:52 -04:00
Makefile Allow on-line enabling and disabling of data checksums 2018-04-05 22:04:48 +02:00