Re: Seg fault in pgbench
Fabien COELHO <coelho@cri.ensmp.fr>
From: Fabien COELHO <coelho@cri.ensmp.fr>
To: Jeff Janes <jeff.janes@gmail.com>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>,
Alvaro Herrera <alvherre@2ndquadrant.com>
Date: 2016-02-13T07:41:39Z
Lists: pgsql-hackers
> If I give pgbench an empty file, I get a segfault. > > $ touch empty.sql > $ src/bin/pgbench/pgbench -T 60 -f empty.sql > starting vacuum...end. > Segmentation fault (core dumped) Oops, shame on me:-( I should have tested this one, especially as I tested it for other changes in pgbench... Thanks for the report, and for Alvaro's fix. -- Fabien.
Commits
-
pgbench: fix segfault with empty sql file
- db94419ffd68 9.6.0 landed
-
pgbench: improve multi-script support
- 8bea3d221984 9.6.0 cited