RE: pgbench - doCustom cleanup

Fabien COELHO <coelho@cri.ensmp.fr>

From: Fabien COELHO <coelho@cri.ensmp.fr>
To: "Jamison, Kirk" <k.jamison@jp.fujitsu.com>
Cc: PostgreSQL Developers <pgsql-hackers@lists.postgresql.org>
Date: 2018-11-17T10:46:59Z
Lists: pgsql-hackers

Attachments

> Attached is a v3, where I have updated inaccurate comments.

Attached v4 is a rebase after 409231919443984635b7ae9b7e2e261ab984eb1e

-- 
Fabien.

Commits

  1. pgbench: doExecuteCommand -> executeMetaCommand

  2. Rework the pgbench state machine code for clarity

  3. instr_time.h: add INSTR_TIME_SET_CURRENT_LAZY

  4. pgbench: introduce a RandomState struct