workaround for buggy strtod is not necessary

From: Zdenek Kotala <Zdenek(dot)Kotala(at)Sun(dot)COM>
To: pgsql-hackers(at)postgresql(dot)org
Subject: workaround for buggy strtod is not necessary
Date: 2006-10-03 21:37:33
Message-ID: 4522D81D.9000809@sun.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


Solaris had broken strtod function when parse "Inf" and "Nan". See
solaris.h. This bug has been fixed for all current versions of Solaris (
8, 9, 10). See

http://sunsolve.sun.com/search/document.do?assetkey=1-21-108993-62-1&searchclause=108993-62
http://sunsolve.sun.com/search/document.do?assetkey=1-21-112874-34-1&searchclause=112874-34

Workaround is not necessary now, but I'm not sure if workaround removing
is good idea. There are some possible variants:

1) keep workaround in the code for compatibility with unpatched system
and adjust comment in solaris.h

2) remove workaround and mention required Solaris patch in the
Solaris.FAQ document

3) add some test into configure script and use workaround only on
unpatched system. (It should be nightmare for packagers)

Any suggestion?

Thanks Zdenek

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2006-10-03 21:46:56 Re: [HACKERS] scripts/common.c minor memory leak
Previous Message Jim C. Nasby 2006-10-03 21:35:48 timetz storage vs timestamptz