Thread: pgsql: pgbench: Silence new compiler warnings

pgsql: pgbench: Silence new compiler warnings

From
Alvaro Herrera
Date:
pgbench: Silence new compiler warnings

The original coding in 7bafffea647 and previous wasn't all that great
anyway.

Reported by Jeff Janes and Tom Lane

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/1038bc91ca98865bd60bf63db46fc331f3099998

Modified Files
--------------
src/bin/pgbench/pgbench.c | 36 ++++++++++++++++++++++--------------
1 file changed, 22 insertions(+), 14 deletions(-)


Re: pgsql: pgbench: Silence new compiler warnings

From
Tom Lane
Date:
Alvaro Herrera <alvherre@alvh.no-ip.org> writes:
> pgbench: Silence new compiler warnings

Fixes it for me, thanks.

            regards, tom lane