Thread: pgsql: pgbench: Don't fail during startup

pgsql: pgbench: Don't fail during startup

From
Stephen Frost
Date:
pgbench: Don't fail during startup

In pgbench, report, but ignore, any errors returned when attempting to
vacuum/truncate the default tables during startup.  If the tables are
needed, we'll error out soon enough anyway.

Per discussion with Tatsuo, David Rowley, Jim Nasby, Robert, Andres,
Fujii, Fabrízio de Royes Mello, Tomas Vondra, Michael Paquier, Peter,
based on a suggestion from Jeff Janes, patch from Robert, additional
message wording from Tom.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/aa4a0b9571232f44e4b8d9effca3c540e657cebb

Modified Files
--------------
src/bin/pgbench/pgbench.c |   23 +++++++++++++++++++----
1 file changed, 19 insertions(+), 4 deletions(-)