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