pgbench: replace run-time string comparisons with an enum identifier.
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 2 Nov 2017 22:32:14 +0000 (18:32 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 2 Nov 2017 22:32:14 +0000 (18:32 -0400)
commitf987f83de20afe3ba78be1e15db5dffe7488faa7
treea2d3830d786eea66d27e57c3b86f22415f9dbf08
parent81e334ce4e6d687d548e60ad8954b7dfd9e568a2
pgbench: replace run-time string comparisons with an enum identifier.

Minor refactoring that should yield some performance benefit.

Fabien Coelho, reviewed by Aleksandr Parfenov

Discussion: https://postgr.es/m/alpine.DEB.2.20.1709230538130.4999@lancre
src/bin/pgbench/pgbench.c