postgresql/src
Tom Lane 95cacd1345 Use a non-locale-dependent definition of isspace() in array_in/array_out.
array_in discards unquoted leading and trailing whitespace in array values,
while array_out is careful to quote array elements that contain whitespace.
This is problematic when the definition of "whitespace" varies between
locales: array_in could drop characters that were meant to be part of the
value.  To avoid that, lock down "whitespace" to mean only the traditional
six ASCII space characters.

This change also works around a bug in OS X and some older BSD systems, in
which isspace() could return true for character fragments in UTF8 locales.
(There may be other places in PG where that bug could cause problems, but
this is the only one complained of so far; see recent report from Steven
Schlansker.)

Back-patch to 9.0, but not further.  Given the lack of previous reports
of trouble, changing this behavior in stable branches seems to offer
more risk of breaking applications than reward of avoiding problems.
2010-08-21 16:55:51 +00:00
..
backend Use a non-locale-dependent definition of isspace() in array_in/array_out. 2010-08-21 16:55:51 +00:00
bin Improve parallel restore's ability to cope with selective restore (-L option). 2010-08-21 13:59:44 +00:00
include Add vacuum and analyze counters to pg_stat_*_tables views. 2010-08-21 10:59:17 +00:00
interfaces Remove extra newlines at end and beginning of files, add missing newlines 2010-08-19 05:57:36 +00:00
makefiles Allow for LDFLAGS_SL already having a value in Makefile.aix. 2010-07-06 03:41:02 +00:00
pl Allow USING and INTO clauses of plpgsql's EXECUTE to appear in either order. 2010-08-19 18:57:57 +00:00
port Remove extra newlines at end and beginning of files, add missing newlines 2010-08-19 05:57:36 +00:00
template Remove extra newlines at end and beginning of files, add missing newlines 2010-08-19 05:57:36 +00:00
test Adjust regression tests for previous commit, that I forgot 2010-08-21 13:18:02 +00:00
timezone pgindent run for 9.0, second run 2010-07-06 19:19:02 +00:00
tools Remove extra newlines at end and beginning of files, add missing newlines 2010-08-19 05:57:36 +00:00
tutorial Remove extra newlines at end and beginning of files, add missing newlines 2010-08-19 05:57:36 +00:00
DEVELOPERS Replace a couple of references to files that no longer exist in the source 2009-05-04 08:08:47 +00:00
Makefile Rethink the way walreceiver is linked into the backend. Instead than shoving 2010-01-20 09:16:24 +00:00
Makefile.global.in Accept slightly grotty coding in Makefile.global in order to keep the -L 2010-07-06 22:03:05 +00:00
Makefile.shlib Still more third thoughts: when linking shared libraries, LDFLAGS probably 2010-07-06 03:55:33 +00:00
bcc32.mak
nls-global.mk Avoid error from mkdir if no languages are to be installed 2010-05-13 14:35:28 +00:00
win32.mak