]> git.ipfire.org Git - thirdparty/postgresql.git/commit
pgbench: Install guard against overflow when dividing by -1.
authorRobert Haas <rhaas@postgresql.org>
Wed, 3 Feb 2016 14:15:29 +0000 (09:15 -0500)
committerRobert Haas <rhaas@postgresql.org>
Wed, 3 Feb 2016 14:19:58 +0000 (09:19 -0500)
commit014796aa3f07f77fa50128044599c96808e929ee
tree8da440233234ef30de2d06e83a6135fa32bffe44
parent1f2b195ebf1c1646b20111f1c339fbaebb04da56
pgbench: Install guard against overflow when dividing by -1.

Commit 64f5edca2401f6c2f23564da9dd52e92d08b3a20 fixed the same hazard
on master; this is a backport, but the modulo operator does not exist
in older releases.

Michael Paquier
contrib/pgbench/pgbench.c