pgsql: pgbench: Install guard against overflow when dividing by -1.

Поиск
Список
Период
Сортировка
От Robert Haas
Тема pgsql: pgbench: Install guard against overflow when dividing by -1.
Дата
Msg-id E1aQyPe-000639-B2@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
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

Branch
------
REL9_4_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/c33d1a8d5266d345bf777b1a9256cb7155d7e67f

Modified Files
--------------
contrib/pgbench/pgbench.c | 30 +++++++++++++++++++++++++++++-
1 file changed, 29 insertions(+), 1 deletion(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Robert Haas
Дата:
Сообщение: pgsql: pgbench: Install guard against overflow when dividing by -1.
Следующее
От: Robert Haas
Дата:
Сообщение: pgsql: Remove CustomPath's TextOutCustomPath method.