Re: pgbench - use enum for meta commands

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Fabien COELHO <coelho@cri.ensmp.fr>
Cc: Aleksandr Parfenov <a.parfenov@postgrespro.ru>, PostgreSQL Developers <pgsql-hackers@postgresql.org>, Fabien Coelho <postgresql.org@coelho.net>
Date: 2017-11-02T22:34:06Z
Lists: pgsql-hackers
Fabien COELHO <coelho@cri.ensmp.fr> writes:
> [ pgbench-enum-meta-2.patch ]

Pushed with some trivial cosmetic adjustments (pgindent changed
it more than I did).

			regards, tom lane


Commits

  1. pgbench: replace run-time string comparisons with an enum identifier.