Re: Seg fault in pgbench
Alvaro Herrera <alvherre@2ndquadrant.com>
From: Alvaro Herrera <alvherre@2ndquadrant.com>
To: Jeff Janes <jeff.janes@gmail.com>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>,
Fabien COELHO <coelho@cri.ensmp.fr>
Date: 2016-02-12T17:19:04Z
Lists: pgsql-hackers
Jeff Janes wrote: > 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) > > This has been since this commit: > > commit 8bea3d2219844887e170471f223ba100b3c17571 > Author: Alvaro Herrera <alvherre@alvh.no-ip.org> > Date: Wed Jan 27 02:54:22 2016 +0100 > > pgbench: improve multi-script support > > > I wasn't able to figure out which email thread corresponds to this commit. Thanks for the report, will fix. -- Álvaro Herrera http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
Commits
-
pgbench: fix segfault with empty sql file
- db94419ffd68 9.6.0 landed
-
pgbench: improve multi-script support
- 8bea3d221984 9.6.0 cited