This patch will avoid SIGFPE on some geo functions , if PostgreSQL is compiled

Bruce Momjian <bruce@momjian.us>

Commit: bb50fb517f9f2a09891425173aeb150c07126778
Author: Bruce Momjian <bruce@momjian.us>
Date: 1999-12-21T17:01:44Z
Releases: 7.1.1
This patch will avoid SIGFPE on some geo functions , if PostgreSQL is compiled
with DEC C.

DEC C doesn't handle double values greater than DBL_MAX, but some
PostgreSQL geo functions assign greater than DBL_MAX values to some vars
in some special cases - that couses SIGFPE. I dunno if that is the only place
to fix to work well with DEC C.

Kirill Nosov.

Files

PathChange+/−
src/backend/utils/adt/geo_ops.c modified +5 −2