Re: pgbench - minor fix for meta command only scripts
Fabien COELHO <coelho@cri.ensmp.fr>
From: Fabien COELHO <coelho@cri.ensmp.fr>
To: Michael Paquier <michael.paquier@gmail.com>
Cc: PostgreSQL Developers <pgsql-hackers@postgresql.org>
Date: 2016-07-11T05:10:07Z
Lists: pgsql-hackers
Attachments
- pgbench-no-sql-fix-2.patch (text/x-diff) patch
Hello Michaël, > You may want to name your patches with .patch or .diff. Using .sql is > disturbing style :) Indeed! :-) > Indeed, not reporting the progress back to the client in the case of a > script with only meta commands is non-intuitive. > > This looks good to me. I'd just rewrite the comment block with > something like that, more simplified: Ok. Here is an updated version, with a better suffix and a simplified comment. Thanks, -- 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