]> git.ipfire.org Git - thirdparty/postgresql.git/commit
pgbench: Remove dead code
authorAlvaro Herrera <alvherre@alvh.no-ip.org>
Thu, 28 Jan 2021 15:50:40 +0000 (12:50 -0300)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Thu, 28 Jan 2021 15:50:40 +0000 (12:50 -0300)
commit4162f91d1c201f5f76c34910e35d32aeb673b219
treed998a8582ebdd7550ff66abfd0bf6c6bfb576b8f
parentbcae842b962a485524a41575810caf231400e3db
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>
src/bin/pgbench/pgbench.c