Re: pgbench - minor fix for meta command only scripts
Fabien COELHO <coelho@cri.ensmp.fr>
From: Fabien COELHO <coelho@cri.ensmp.fr>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Michael Paquier <michael.paquier@gmail.com>,
PostgreSQL Developers <pgsql-hackers@postgresql.org>
Date: 2016-07-13T08:21:08Z
Lists: pgsql-hackers
Attachments
- pgbench-no-sql-fix-3.patch (text/x-diff) patch
> The attached patch provides a solution which ensures the return in the right > condition and after the stat collection. The code structure requires another > ugly boolean to proceed so as to preserve doing the reconnection between the > decision that the return must be done and the place where it can be done, > after reconnecting. Ooops, the attached patched was the right content but wrongly named:-( Here it is again with a consistent name. Sorry for the noise. -- Fabien.
Commits
-
Fix busy-wait in pgbench, with --rate.
- babf18579455 10.0 landed
- 396ef1561878 11.0 landed
-
Refactor script execution state machine in pgbench.
- 12788ae49e19 10.0 cited