]> 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:21:44 +0000 (09:21 -0500)
commitb63a4f418f5611272f28d0633932ffbf3bbd3015
tree0c4c99411b937024972c5878c942eb5f88401c5c
parentd9ce5d201d17e360b8de2cd3d912c1fec49d85fd
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