RefLib

Reference library for AI

Back

postgresql_16:7.2.9.3 Exit Status

PostgreSQL 16 > Reference > PostgreSQL Client Applications > pgbench > Exit Status

A successful run will exit with status 0. Exit status 1 indicates static problems such as invalid command-line options or internal errors which are supposed to never occur. Early errors that occur when starting benchmark such as initial connection failures also exit with status 1. Errors during the run such as database errors or problems in the script will result in exit status 2. In the latter case, pgbench will print partial results.

Back