]> granicus.if.org Git - postgresql/commit
Correct overflow handling in pgbench.
authorAndres Freund <andres@anarazel.de>
Fri, 28 Sep 2018 04:48:47 +0000 (21:48 -0700)
committerAndres Freund <andres@anarazel.de>
Fri, 28 Sep 2018 04:50:57 +0000 (21:50 -0700)
commit92a0342a90b38b0b007f079d33286f9aefabfe40
tree6967238d8d810c3a9972aa753b7618e17d036147
parent78ea8b5daab9237fd42d7a8a836c1c451765499f
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
doc/src/sgml/ref/pgbench.sgml
src/bin/pgbench/exprparse.y
src/bin/pgbench/exprscan.l
src/bin/pgbench/pgbench.c
src/bin/pgbench/pgbench.h
src/bin/pgbench/t/001_pgbench_with_server.pl
src/bin/pgbench/t/002_pgbench_no_server.pl