pgbench: Remove dead code
authorAlvaro Herrera <[email protected]>
Thu, 28 Jan 2021 15:50:40 +0000 (12:50 -0300)
committerAlvaro Herrera <[email protected]>
Thu, 28 Jan 2021 15:50:40 +0000 (12:50 -0300)
commitcfbbc1f17c24258836662ed6a0f3087c33b90bae
tree6c831ca1b3c2fa5ff5f2333646ce36902b735533
parentf2dc962360b329c811c5e08eb0de4fb82462cdaf
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[email protected]
Reviewed-by: Tom Lane <[email protected]>
src/bin/pgbench/pgbench.c