]> granicus.if.org Git - postgresql/commit
This patch will avoid SIGFPE on some geo functions , if PostgreSQL is compiled
authorBruce Momjian <bruce@momjian.us>
Tue, 21 Dec 1999 17:01:44 +0000 (17:01 +0000)
committerBruce Momjian <bruce@momjian.us>
Tue, 21 Dec 1999 17:01:44 +0000 (17:01 +0000)
commitbb50fb517f9f2a09891425173aeb150c07126778
tree664698a8aa1ef2f172d2240167425d260975828e
parent04c78e2eb45ec20e02abd0aee1b8a59068ee26c1
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.
src/backend/utils/adt/geo_ops.c