Re: [HACKERS] pgbench unusable after crash during pgbench

2015-11-19 Thread Tom Lane
Thom Brown writes: > On 19 November 2015 at 16:11, Robert Haas wrote: >> The only explanation I can think of here is that pgbench on startup >> queries one of the tables to figure out the scale factor, and it seems >> to be coming up with scaling factor 0, suggesting that the table was >> perhaps

Re: [HACKERS] pgbench unusable after crash during pgbench

2015-11-19 Thread Thom Brown
On 19 November 2015 at 16:11, Robert Haas wrote: > On Thu, Nov 19, 2015 at 6:03 AM, Thom Brown wrote: >> I'm using git master, and if I crash the database whilst it's running >> pgbench, then restart the database and try to run pgbench again, I >> can't: >> >> thom@swift:~/Development/postgresql$

Re: [HACKERS] pgbench unusable after crash during pgbench

2015-11-19 Thread Robert Haas
On Thu, Nov 19, 2015 at 6:03 AM, Thom Brown wrote: > I'm using git master, and if I crash the database whilst it's running > pgbench, then restart the database and try to run pgbench again, I > can't: > > thom@swift:~/Development/postgresql$ pgbench -c 1 -j 1 -T 20 -S pgbench > ...crash database..

[HACKERS] pgbench unusable after crash during pgbench

2015-11-19 Thread Thom Brown
Hi, I'm using git master, and if I crash the database whilst it's running pgbench, then restart the database and try to run pgbench again, I can't: thom@swift:~/Development/postgresql$ pgbench -c 1 -j 1 -T 20 -S pgbench ...crash database... connection to database "pgbench" failed: could not conne