postgresql/src
Tom Lane 221e92f64c Make sure float4in/float8in accept all standard spellings of "infinity".
The C99 and POSIX standards require strtod() to accept all these spellings
(case-insensitively): "inf", "+inf", "-inf", "infinity", "+infinity",
"-infinity".  However, pre-C99 systems might accept only some or none of
these, and apparently Windows still doesn't accept "inf".  To avoid
surprising cross-platform behavioral differences, manually check for each
of these spellings if strtod() fails.  We were previously handling just
"infinity" and "-infinity" that way, but since C99 is most of the world
now, it seems likely that applications are expecting all these spellings
to work.

Per bug #8355 from Basil Peace.  It turns out this fix won't actually
resolve his problem, because Python isn't being this careful; but that
doesn't mean we shouldn't be.
2013-08-03 12:40:27 -04:00
..
backend Make sure float4in/float8in accept all standard spellings of "infinity". 2013-08-03 12:40:27 -04:00
bin pg_dump/pg_dumpall: remove unnecessary SQL trailing semicolons 2013-07-31 11:37:17 -04:00
common
include Fix crash in error report of invalid tuple lock 2013-08-02 13:18:37 -04:00
interfaces Improve handling of pthread_mutex_lock error case 2013-08-01 15:42:07 -04:00
makefiles Install all a Makefile's extension controls, not just the first. 2013-07-03 19:03:31 -04:00
pl Allow a context to be passed in for error handling 2013-08-01 01:07:20 -04:00
port Send SIGKILL to children if they don't die quickly in immediate shutdown 2013-06-28 17:49:46 -04:00
template
test Fix crash in error report of invalid tuple lock 2013-08-02 13:18:37 -04:00
timezone
tools Get rid of pg_class.reltoastidxid. 2013-07-04 03:24:09 +09:00
tutorial
.gitignore
bcc32.mak
DEVELOPERS
Makefile
Makefile.global.in Improve support for building PGXS modules with VPATH. 2013-07-01 12:53:05 -04:00
Makefile.shlib
nls-global.mk
win32.mak