postgresql/src/backend
Tom Lane 81e2255fc7 Fix to_char() to use ASCII-only case-folding rules where appropriate.
formatting.c used locale-dependent case folding rules in some code paths
where the result isn't supposed to be locale-dependent, for example
to_char(timestamp, 'DAY').  Since the source data is always just ASCII
in these cases, that usually didn't matter ... but it does matter in
Turkish locales, which have unusual treatment of "i" and "I".  To confuse
matters even more, the misbehavior was only visible in UTF8 encoding,
because in single-byte encodings we used pg_toupper/pg_tolower which
don't have locale-specific behavior for ASCII characters.  Fix by providing
intentionally ASCII-only case-folding functions and using these where
appropriate.  Per bug #7913 from Adnan Dursun.  Back-patch to all active
branches, since it's been like this for a long time.
2013-03-05 13:02:38 -05:00
..
access Further cleanup of gistsplit.c. 2013-02-10 16:21:37 -05:00
bootstrap Capitalization fixes 2011-06-19 00:39:19 +03:00
catalog DROP OWNED: don't try to drop tablespaces/databases 2013-01-28 18:59:55 -03:00
commands Correct tense in log message 2013-02-23 23:33:18 -05:00
executor Fix SPI documentation for new handling of ExecutorRun's count parameter. 2013-01-24 18:34:08 -05:00
foreign deflist_to_tuplestore dumped core on an option with no value. 2011-09-13 11:36:53 -04:00
lib Stamp copyrights for year 2011. 2011-01-01 13:18:15 -05:00
libpq Produce a more useful error message for over-length Unix socket paths. 2012-11-29 19:57:17 -05:00
main Pgindent run before 9.1 beta2. 2011-06-09 14:32:50 -04:00
nodes Fix planning of non-strict equivalence clauses above outer joins. 2012-10-18 12:29:00 -04:00
optimizer Fix assorted bugs in CREATE INDEX CONCURRENTLY. 2012-11-29 14:51:46 -05:00
parser Fix grammar for subscripting or field selection from a sub-SELECT result. 2013-01-30 14:16:34 -05:00
po Translation updates 2013-02-03 23:58:38 -05:00
port Split up process latch initialization for more-fail-soft behavior. 2012-10-14 23:00:07 -04:00
postmaster Fix possible failure to send final transaction counts to stats collector. 2013-02-07 14:44:15 -05:00
regex Add missing error check in regexp parser. 2013-02-27 10:40:14 -05:00
replication Fix race condition if a file is removed while pg_basebackup is running. 2012-12-21 15:33:38 +02:00
rewrite Prevent CREATE TABLE LIKE/INHERITS from (mis) copying whole-row Vars. 2012-06-30 16:44:03 -04:00
snowball Stamp copyrights for year 2011. 2011-01-01 13:18:15 -05:00
storage Fix performance problems with autovacuum truncation in busy workloads. 2013-01-23 13:40:06 -06:00
tcop Say ANALYZE, not VACUUM, in error message on analyze in hot standby. 2012-10-08 14:20:56 +03:00
tsearch Fix logical errors in tsquery selectivity estimation for prefix queries. 2012-09-11 21:23:49 -04:00
utils Fix to_char() to use ASCII-only case-folding rules where appropriate. 2013-03-05 13:02:38 -05:00
.gitignore Add gitignore for mingw/cygwin build outputs 2011-06-09 18:11:47 +02:00
common.mk Workaround for recursive make breakage 2011-01-13 09:32:06 +02:00
Makefile Fix PGXS support for building loadable modules on AIX. 2012-10-09 21:04:15 -04:00
nls.mk Translation updates 2013-02-03 23:58:38 -05:00