Thread: pgsql: pgbench: Remove dead code

pgsql: pgbench: Remove dead code

From
Alvaro Herrera
Date:
pgbench: Remove dead code

doConnect() never returns connections in state CONNECTION_BAD, so
checking for that is pointless.  Remove the code that does.

This code has been dead since ba708ea3dc84, 20 years ago.

Discussion: https://postgr.es/m/20210126195224.GA20361@alvherre.pgsql
Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us>

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/6819b9042fe69154ff3fd2337c5028038d3cfab4

Modified Files
--------------
src/bin/pgbench/pgbench.c | 7 -------
1 file changed, 7 deletions(-)