aboutsummaryrefslogtreecommitdiff
path: root/src/backend/parser/parse_func.c
diff options
context:
space:
mode:
authorFujii Masao <fujii@postgresql.org>2021-11-02 22:49:57 +0900
committerFujii Masao <fujii@postgresql.org>2021-11-02 22:49:57 +0900
commitcd29be5459f0e138c0f19d49ee588feeda78e3c9 (patch)
tree0612bf66984245df7cca39fdd074865aa9649a59 /src/backend/parser/parse_func.c
parent335397456b7e3f9f619038cb322fbfc9dd649d4f (diff)
downloadpostgresql-cd29be5459f0e138c0f19d49ee588feeda78e3c9.tar.gz
postgresql-cd29be5459f0e138c0f19d49ee588feeda78e3c9.zip
pgbench: Improve error-handling in pgbench.
Previously failures of initial connection and logfile open caused pgbench to proceed the benchmarking, report the incomplete results and exit with status 2. It didn't make sense to proceed the benchmarking even when pgbench could not start as prescribed. This commit improves pgbench so that early errors that occur when starting benchmark such as those failures should make pgbench exit immediately with status 1. Author: Yugo Nagata Reviewed-by: Fabien COELHO, Kyotaro Horiguchi, Fujii Masao Discussion: https://postgr.es/m/TYCPR01MB5870057375ACA8A73099C649F5349@TYCPR01MB5870.jpnprd01.prod.outlook.com
Diffstat (limited to 'src/backend/parser/parse_func.c')
0 files changed, 0 insertions, 0 deletions