postgresql/src/include
Tom Lane 7140cef240 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:46 -05:00
..
access Document and clean up gistsplit.c. 2013-02-10 11:58:38 -05:00
bootstrap Update copyright for 2009. 2009-01-01 17:24:05 +00:00
catalog Fix assorted bugs in CREATE INDEX CONCURRENTLY. 2012-11-29 14:52:22 -05:00
commands Prevent CREATE TABLE LIKE/INHERITS from (mis) copying whole-row Vars. 2012-06-30 16:44:14 -04:00
executor Fix a bug introduced when set-returning SQL functions were made inline-able: 2009-12-14 02:16:04 +00:00
foreign 8.4 pgindent run, with new combined Linux/FreeBSD/MinGW typedef list 2009-06-11 14:49:15 +00:00
lib Update copyright for 2009. 2009-01-01 17:24:05 +00:00
libpq Produce a more useful error message for over-length Unix socket paths. 2012-11-29 19:57:33 -05:00
mb Back-patch addition of pg_wchar-to-multibyte conversion functionality. 2012-07-10 16:52:51 -04:00
nodes Fix handling of inherited check constraints in ALTER COLUMN TYPE. 2012-11-05 13:36:36 -05:00
optimizer Fix planning of non-strict equivalence clauses above outer joins. 2012-10-18 12:29:13 -04:00
parser Convert cvsignore to gitignore, and add .gitignore for build targets. 2010-09-22 12:57:08 +02:00
port Force default wal_sync_method to be fdatasync on Linux. 2010-12-08 20:01:19 -05:00
portability 8.4 pgindent run, with new combined Linux/FreeBSD/MinGW typedef list 2009-06-11 14:49:15 +00:00
postmaster 8.4 pgindent run, with new combined Linux/FreeBSD/MinGW typedef list 2009-06-11 14:49:15 +00:00
regex Back-patch fix for extraction of fixed prefixes from regular expressions. 2012-07-10 18:00:51 -04:00
rewrite Prevent CREATE TABLE LIKE/INHERITS from (mis) copying whole-row Vars. 2012-06-30 16:44:14 -04:00
snowball Update copyright for 2009. 2009-01-01 17:24:05 +00:00
storage Improve coding around the fsync request queue. 2012-07-17 16:56:03 -04:00
tcop 8.4 pgindent run, with new combined Linux/FreeBSD/MinGW typedef list 2009-06-11 14:49:15 +00:00
tsearch 8.4 pgindent run, with new combined Linux/FreeBSD/MinGW typedef list 2009-06-11 14:49:15 +00:00
utils Fix to_char() to use ASCII-only case-folding rules where appropriate. 2013-03-05 13:02:46 -05:00
.gitignore Convert cvsignore to gitignore, and add .gitignore for build targets. 2010-09-22 12:57:08 +02:00
c.h 8.4 pgindent run, with new combined Linux/FreeBSD/MinGW typedef list 2009-06-11 14:49:15 +00:00
fmgr.h Update copyright for 2009. 2009-01-01 17:24:05 +00:00
funcapi.h 8.4 pgindent run, with new combined Linux/FreeBSD/MinGW typedef list 2009-06-11 14:49:15 +00:00
getaddrinfo.h Update copyright for 2009. 2009-01-01 17:24:05 +00:00
getopt_long.h Remove optreset from src/port/ implementations of getopt and getopt_long. 2010-12-16 16:22:18 -05:00
Makefile Fix server header file installation with vpath builds 2011-11-10 20:57:50 +02:00
miscadmin.h Do stack-depth checking in all postmaster children. 2012-04-08 19:09:26 +03:00
pg_config.h.in Use __sync_lock_test_and_set() for spinlocks on ARM, if available. 2012-01-07 15:39:11 -05:00
pg_config.h.win32 Stamp 8.4.16. 2013-02-04 16:28:55 -05:00
pg_config_manual.h 8.4 pgindent run, with new combined Linux/FreeBSD/MinGW typedef list 2009-06-11 14:49:15 +00:00
pg_trace.h Update copyright for 2009. 2009-01-01 17:24:05 +00:00
pgstat.h Fix VACUUM so that it always updates pg_class.reltuples/relpages. 2011-05-30 17:07:19 -04:00
pgtime.h Update copyright for 2009. 2009-01-01 17:24:05 +00:00
port.h Use correct output device for Windows prompts. 2013-01-24 16:01:31 -05:00
postgres.h Update copyright for 2009. 2009-01-01 17:24:05 +00:00
postgres_ext.h Move NAMEDATALEN definition from postgres_ext.h to pg_config_manual.h. It 2007-02-06 09:16:08 +00:00
postgres_fe.h Update copyright for 2009. 2009-01-01 17:24:05 +00:00
rusagestub.h Update copyright for 2009. 2009-01-01 17:24:05 +00:00
windowapi.h 8.4 pgindent run, with new combined Linux/FreeBSD/MinGW typedef list 2009-06-11 14:49:15 +00:00