pgsql: pgbench: Don't fail during startup

From: Stephen Frost <sfrost(at)snowman(dot)net>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: pgbench: Don't fail during startup
Date: 2015-05-12 17:13:16
Message-ID: E1YsDk4-0003a9-LJ@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Alvaro Herrera 2015-05-12 17:21:07 Re: [COMMITTERS] pgsql: pg_basebackup -F t now succeeds with a long symlink target
Previous Message Andrew Dunstan 2015-05-12 17:11:35 pgsql: pg_basebackup -F t now succeeds with a long symlink target