Обсуждение: pgsql: pgbench: Remove dead code

Поиск
Список
Период
Сортировка

pgsql: pgbench: Remove dead code

От
Alvaro Herrera
Дата:
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
------
REL9_6_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/4162f91d1c201f5f76c34910e35d32aeb673b219

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