]> granicus.if.org Git - postgresql/commit
pgbench: Don't fail during startup
authorStephen Frost <sfrost@snowman.net>
Tue, 12 May 2015 17:13:12 +0000 (13:13 -0400)
committerStephen Frost <sfrost@snowman.net>
Tue, 12 May 2015 17:13:12 +0000 (13:13 -0400)
commitaa4a0b9571232f44e4b8d9effca3c540e657cebb
treee999d5c89707111412394a733ee69d9a85e06b08
parent97e0aa697983cf7f7f79e69f2dc248fdefb7dbf6
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.
src/bin/pgbench/pgbench.c