Re: [HACKERS] [GENERAL] PostgreSQL 8.0.0 Release Candidate 4

2005-01-09 Thread Tom Lane
Chris Mair <[EMAIL PROTECTED]> writes: > It seems strtod() is to blame. > ... > on the PlayStation 2 returns: > input string is 'Infinity' > strtod returned val = inf > errno = 0 > endptr points to 'inity' > Would it be worth treating this case apart in float.c, or should we just

Re: [HACKERS] [GENERAL] PostgreSQL 8.0.0 Release Candidate 4

2005-01-09 Thread Chris Mair
On Sun, 2005-01-09 at 17:45, Peter Eisentraut wrote: > Well, it does not readily explain that 'infinity' is rejected as invalid > input syntax. You should get an overflow or some large value, at > least. > > The relevant code is in src/backend/utils/adt/float.c. You're right. I had a look at

Re: [HACKERS] [GENERAL] PostgreSQL 8.0.0 Release Candidate 4

2005-01-09 Thread Peter Eisentraut
Chris Mair wrote: > The Playstation 2 hardware manuals confirm that the FPU has > no support for NaN and +/-Inf. That explains the regression diffs. > (EE Core User's Manual Version 5, p. 153) Well, it does not readily explain that 'infinity' is rejected as invalid input syntax. You should get a