From: Alvaro Herrera <alvherre@alvh.no-ip.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: pgbench: Remove dead code
Date: Thu, 28 Jan 2021 15:54:21 +0000
Message-ID: <E1l59cj-0006Ot-2f@gemulon.postgresql.org> (raw)
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(-)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: alvherre@alvh.no-ip.org
Subject: Re: pgsql: pgbench: Remove dead code
In-Reply-To: <E1l59cj-0006Ot-2f@gemulon.postgresql.org>
References: <E1l59cj-0006Ot-2f@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox