git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 4d46274) | patch
Solve the 'Turkish problem' with undesirable locale behavior for case
Fri, 7 May 2004 00:24:59 +0000 (00:24 +0000)
Fri, 7 May 2004 00:24:59 +0000 (00:24 +0000)
commit 0bd61548ab8d1ac5fee63f48ee9b384502a51ad6
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.
67 files changed:
configure diff | blob | blame | history
configure.in diff | blob | blame | history
contrib/ltree/lquery_op.c diff | blob | blame | history
contrib/ltree/ltxtquery_op.c diff | blob | blame | history
contrib/pgcrypto/internal.c diff | blob | blame | history
contrib/pgcrypto/md5.c diff | blob | blame | history
contrib/pgcrypto/mhash.c diff | blob | blame | history
contrib/pgcrypto/pgcrypto.c diff | blob | blame | history
contrib/pgcrypto/px-crypt.c diff | blob | blame | history
contrib/pgcrypto/px.c diff | blob | blame | history
contrib/pgcrypto/sha1.c diff | blob | blame | history
contrib/spi/timetravel.c diff | blob | blame | history
contrib/tsearch2/dict_ispell.c diff | blob | blame | history
contrib/tsearch2/ispell/spell.c diff | blob | blame | history
contrib/tsearch2/wparser_def.c diff | blob | blame | history
src/Makefile.global.in diff | blob | blame | history
src/backend/access/transam/xlog.c diff | blob | blame | history
src/backend/commands/aggregatecmds.c diff | blob | blame | history
src/backend/commands/define.c diff | blob | blame | history
src/backend/commands/functioncmds.c diff | blob | blame | history
src/backend/commands/operatorcmds.c diff | blob | blame | history
src/backend/commands/tablecmds.c diff | blob | blame | history
src/backend/commands/typecmds.c diff | blob | blame | history
src/backend/commands/variable.c diff | blob | blame | history
src/backend/regex/regc_locale.c diff | blob | blame | history
src/backend/regex/regcomp.c diff | blob | blame | history
src/backend/utils/adt/acl.c diff | blob | blame | history
src/backend/utils/adt/bool.c diff | blob | blame | history
src/backend/utils/adt/cash.c diff | blob | blame | history
src/backend/utils/adt/date.c diff | blob | blame | history
src/backend/utils/adt/datetime.c diff | blob | blame | history
src/backend/utils/adt/encode.c diff | blob | blame | history
src/backend/utils/adt/float.c diff | blob | blame | history
src/backend/utils/adt/formatting.c diff | blob | blame | history
src/backend/utils/adt/numeric.c diff | blob | blame | history
src/backend/utils/adt/regexp.c diff | blob | blame | history
src/backend/utils/adt/regproc.c diff | blob | blame | history
src/backend/utils/adt/tid.c diff | blob | blame | history
src/backend/utils/adt/timestamp.c diff | blob | blame | history
src/backend/utils/error/elog.c diff | blob | blame | history
src/backend/utils/misc/guc.c diff | blob | blame | history
src/bin/pg_dump/pg_backup_tar.c diff | blob | blame | history
src/bin/psql/command.c diff | blob | blame | history
src/bin/psql/common.c diff | blob | blame | history
src/bin/psql/copy.c diff | blob | blame | history
src/bin/psql/describe.c diff | blob | blame | history
src/bin/psql/help.c diff | blob | blame | history
src/bin/psql/psqlscan.l diff | blob | blame | history
src/bin/psql/tab-complete.c diff | blob | blame | history
src/include/c.h diff | blob | blame | history
src/include/pg_config.h.in diff | blob | blame | history
src/include/port.h diff | blob | blame | history
src/include/port/qnx4.h diff | blob | blame | history
src/include/port/ultrix4.h diff | blob | blame | history
src/include/regex/regcustom.h diff | blob | blame | history
src/interfaces/ecpg/pgtypeslib/datetime.c diff | blob | blame | history
src/interfaces/ecpg/pgtypeslib/dt_common.c diff | blob | blame | history
src/interfaces/ecpg/preproc/preproc.y diff | blob | blame | history
src/interfaces/libpq/Makefile diff | blob | blame | history
src/interfaces/libpq/fe-exec.c diff | blob | blame | history
src/interfaces/libpq/fe-protocol2.c diff | blob | blame | history
src/interfaces/libpq/fe-protocol3.c diff | blob | blame | history
src/interfaces/libpq/fe-secure.c diff | blob | blame | history
src/interfaces/libpq/win32.h diff | blob | blame | history
src/pl/plpython/plpython.c diff | blob | blame | history
src/port/pgstrcasecmp.c [new file with mode: 0644] blob
src/port/strcasecmp.c [deleted file] blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /