pgsql: pgbench: Remove dead code

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема pgsql: pgbench: Remove dead code
Дата
Msg-id E1l59cj-0006Oe-0Y@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
------
REL_13_STABLE

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

Modified Files
--------------
src/bin/pgbench/pgbench.c | 7 -------
1 file changed, 7 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