pgsql: On further reflection, we'd better do the same in int.c. - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: On further reflection, we'd better do the same in int.c.
Date
Msg-id E1PyCJt-00045U-LR@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
On further reflection, we'd better do the same in int.c.

We previously heard of the same problem in int24div(), so there's not a
good reason to suppose the problem is confined to cases involving int8.

Branch
------
REL8_3_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/56423c143cce5347217d27119f5f52eaab899721

Modified Files
--------------
src/backend/utils/adt/int.c |   37 +++++++++++++++++++++++++++++++++++++
1 files changed, 37 insertions(+), 0 deletions(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Put in some more safeguards against executing a division-by-zero
Next
From: Tom Lane
Date:
Subject: pgsql: On further reflection, we'd better do the same in int.c.