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(at)alvh(dot)no-ip(dot)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,
Jeff