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-00045W-La@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_2_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/1b5a7779cbe37a750f799b6314ceb43b8a0e5aba

Modified Files
--------------
src/backend/utils/adt/int.c |   38 ++++++++++++++++++++++++++++++++++++++
1 files changed, 38 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.