Correct overflow handling in pgbench.

Andres Freund <andres@anarazel.de>

Commit: 92a0342a90b38b0b007f079d33286f9aefabfe40
Author: Andres Freund <andres@anarazel.de>
Date: 2018-09-28T04:50:57Z
Releases: 12.0
Correct overflow handling in pgbench.

This patch attempts, although it's quite possible there are a few
holes, to properly detect and reported signed integer overflows in
pgbench.

Author: Fabien Coelho
Reviewed-By: Andres Freund
Discussion: https://postgr.es/m/20171212052943.k2hlckfkeft3eiio@alap3.anarazel.de

Files

Documentation touched

Discussion