Re: Seg fault in pgbench - Mailing list pgsql-hackers

From Fabien COELHO
Subject Re: Seg fault in pgbench
Date
Msg-id alpine.DEB.2.10.1602130839320.9340@sto
Whole thread Raw
In response to Seg fault in pgbench  (Jeff Janes <jeff.janes@gmail.com>)
List 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.



pgsql-hackers by date:

Previous
From: Fabien COELHO
Date:
Subject: Re: extend pgbench expressions with functions
Next
From: Simon Riggs
Date:
Subject: Re: [COMMITTERS] pgsql: Code cleanup in the wake of recent LWLock refactoring.