postgresql/src/bin
Fujii Masao c5f7e702d7 pgbench: Fix handling of socket errors during benchmark.
Previously socket errors such as invalid socket or socket wait method failures
during benchmark caused pgbench to exit with status 0. Instead, errors during
the run should result in exit status 2.

Back-patch to v12 where pgbench started reporting exit status.

Original complaint and patch by Hayato Kuroda.

Author: Yugo Nagata, Fabien COELHO
Reviewed-by: Kyotaro Horiguchi, Fujii Masao
Discussion: https://postgr.es/m/TYCPR01MB5870057375ACA8A73099C649F5349@TYCPR01MB5870.jpnprd01.prod.outlook.com
2021-09-29 21:49:40 +09:00
..
initdb Work around portability issue with newer versions of mktime(). 2021-06-13 14:32:42 -04:00
pg_archivecleanup Translation updates 2020-11-09 12:36:44 +01:00
pg_basebackup Fix a couple of memory leaks in src/bin/pg_basebackup/ 2021-07-26 11:14:14 +09:00
pg_checksums pg_checksums: Fix progress reporting. 2021-04-03 00:08:05 +09:00
pg_config Translation updates 2020-11-09 12:36:44 +01:00
pg_controldata Translation updates 2020-11-09 12:36:44 +01:00
pg_ctl Remove arbitrary MAXPGPATH limit on command lengths in pg_ctl. 2021-09-03 21:04:44 -04:00
pg_dump Avoid useless malloc/free traffic around getFormattedTypeName(). 2021-09-08 15:09:42 -04:00
pg_resetwal Translation updates 2021-08-09 12:36:42 +02:00
pg_rewind Translation updates 2021-02-08 17:50:22 +01:00
pg_test_fsync Translation updates 2020-08-10 15:21:18 +02:00
pg_test_timing Translation updates 2020-08-10 15:21:18 +02:00
pg_upgrade Translation updates 2021-08-09 12:36:42 +02:00
pg_waldump pg_waldump: Fix bug in per-record statistics. 2021-03-23 09:54:59 +09:00
pgbench pgbench: Fix handling of socket errors during benchmark. 2021-09-29 21:49:40 +09:00
pgevent Update copyright for 2019 2019-01-02 12:44:25 -05:00
psql psql \dP: reference regclass with "pg_catalog." prefix 2021-08-28 11:45:47 -04:00
scripts Fix incautious handling of possibly-miscoded strings in client code. 2021-06-07 14:15:25 -04:00
Makefile Rename pg_verify_checksums to pg_checksums 2019-03-13 10:43:20 +09:00