pgsql: pgbench: Remove dead code

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема pgsql: pgbench: Remove dead code
Дата
Msg-id E1l59cj-0006Ot-2f@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
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_5_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/cfbbc1f17c24258836662ed6a0f3087c33b90bae

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


В списке pgsql-committers по дате отправления:

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: pgsql: Refactor code in tablecmds.c to check and process tablespace mov
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Make ecpg's rjulmdy() and rmdyjul() agree with their declaration