pgsql: pgbench: Install guards against obscure overflow conditions.

Поиск
Список
Период
Сортировка
От Robert Haas
Тема pgsql: pgbench: Install guards against obscure overflow conditions.
Дата
Msg-id E1aQEbr-0001xq-Ki@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
pgbench: Install guards against obscure overflow conditions.

Dividing INT_MIN by -1 or taking INT_MIN modulo -1 can sometimes
cause floating-point exceptions or otherwise misbehave.

Fabien Coelho and Michael Paquier

Branch
------
REL9_5_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/829757c8a225e5b81a398823d77fa6c0809cf863

Modified Files
--------------
src/bin/pgbench/pgbench.c | 36 ++++++++++++++++++++++++++++++++++--
1 file changed, 34 insertions(+), 2 deletions(-)


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

Предыдущее
От: Robert Haas
Дата:
Сообщение: pgsql: pgbench: Install guards against obscure overflow conditions.
Следующее
От: Alvaro Herrera
Дата:
Сообщение: pgsql: pgbench: allow per-script statistics