postgresql/src
Fujii Masao 2acb7cc6b5 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:48:52 +09:00
..
backend Clarify use of "statistics objects" in the code 2021-09-29 15:29:38 +09:00
bin pgbench: Fix handling of socket errors during benchmark. 2021-09-29 21:48:52 +09:00
common Fix typos and grammar in code comments 2021-09-27 14:21:28 +09:00
fe_utils Skip trailing whitespaces when parsing integer options 2021-07-27 10:39:05 +09:00
include Fix incorrect format placeholder 2021-09-29 08:12:23 +02:00
interfaces Clear conn->errorMessage at successful completion of PQconnectdb(). 2021-09-13 16:53:11 -04:00
makefiles Add NO_INSTALL option to pgxs 2021-05-27 13:58:29 +02:00
pl Fix misevaluation of STABLE parameters in CALL within plpgsql. 2021-09-21 19:06:53 -04:00
port windows: Only consider us to be running as service if stderr is invalid. 2021-09-07 11:56:13 -07:00
template Further tweaking of PG_SYSROOT heuristics for macOS. 2021-01-20 12:07:23 -05:00
test Add missing $Test::Builder::Level settings 2021-09-23 23:07:09 +02:00
timezone Update time zone data files to tzdata release 2021a. 2021-01-24 16:29:47 -05:00
tools Add exception for unicode_east_asian_fw_table.h to headerscheck also 2021-09-23 15:30:25 -04:00
tutorial doc: Prefer explicit JOIN syntax over old implicit syntax in tutorial 2021-04-08 10:51:26 +02:00
.gitignore
DEVELOPERS
Makefile Remove the option to build thread_test.c outside configure. 2020-10-21 12:08:48 -04:00
Makefile.global.in Update Unicode data to Unicode 14.0.0 2021-09-15 08:16:44 +02:00
Makefile.shlib AIX: Fix missing libpq symbols by respecting SHLIB_EXPORTS. 2021-09-06 11:27:59 -07:00
nls-global.mk Add errhint_plural() function and make use of it 2021-03-31 09:16:25 +02:00