Re: pgbench: new feature allowing to launch shell commands

Michael Paquier <michael.paquier@gmail.com>

From: Michael Paquier <michael.paquier@gmail.com>
To: Greg Smith <greg@2ndquadrant.com>
Cc: pgsql-hackers@postgresql.org
Date: 2009-12-07T06:26:54Z
Lists: pgsql-hackers

Attachments

Please find attached the latest version of the patch,
with the threading bug corrected and the documentation updated as well.

The origin of the bug was the alarm signal. Once the duration is over, all
the threads have to finish and timer_exceeded is set at true.
A control on this variable in setshell process is enough so as not to show
out the thread error.

Regards,