postgresql/src/backend/regex
Tom Lane 0bd61548ab Solve the 'Turkish problem' with undesirable locale behavior for case
conversion of basic ASCII letters.  Remove all uses of strcasecmp and
strncasecmp in favor of new functions pg_strcasecmp and pg_strncasecmp;
remove most but not all direct uses of toupper and tolower in favor of
pg_toupper and pg_tolower.  These functions use the same notions of
case folding already developed for identifier case conversion.  I left
the straight locale-based folding in place for situations where we are
just manipulating user data and not trying to match it to built-in
strings --- for example, the SQL upper() function is still locale
dependent.  Perhaps this will prove not to be what's wanted, but at
the moment we can initdb and pass regression tests in Turkish locale.
2004-05-07 00:24:59 +00:00
..
COPYRIGHT Replace regular expression package with Henry Spencer's latest version 2003-02-05 17:41:33 +00:00
Makefile $Header: -> $PostgreSQL Changes ... 2003-11-29 19:52:15 +00:00
re_syntax.n Replace regular expression package with Henry Spencer's latest version 2003-02-05 17:41:33 +00:00
regc_color.c $Header: -> $PostgreSQL Changes ... 2003-11-29 19:52:15 +00:00
regc_cvec.c $Header: -> $PostgreSQL Changes ... 2003-11-29 19:52:15 +00:00
regc_lex.c $Header: -> $PostgreSQL Changes ... 2003-11-29 19:52:15 +00:00
regc_locale.c Solve the 'Turkish problem' with undesirable locale behavior for case 2004-05-07 00:24:59 +00:00
regc_nfa.c $Header: -> $PostgreSQL Changes ... 2003-11-29 19:52:15 +00:00
regcomp.c Solve the 'Turkish problem' with undesirable locale behavior for case 2004-05-07 00:24:59 +00:00
rege_dfa.c $Header: -> $PostgreSQL Changes ... 2003-11-29 19:52:15 +00:00
regerror.c $Header: -> $PostgreSQL Changes ... 2003-11-29 19:52:15 +00:00
regexec.c $Header: -> $PostgreSQL Changes ... 2003-11-29 19:52:15 +00:00
regfree.c $Header: -> $PostgreSQL Changes ... 2003-11-29 19:52:15 +00:00