Skip site navigation (1) Skip section navigation (2)

pgsql-server/ /configure / ontrib/ ...

From: tgl(at)svr1(dot)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql-server/ /configure / ontrib/ ...
Date: 2004-05-07 00:24:59
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-committers
CVSROOT:	/cvsroot
Module name:	pgsql-server
Changes by:	tgl(at)svr1(dot)postgresql(dot)org	04/05/06 21:24:59

Modified files:
	.              : configure 
	contrib/ltree  : lquery_op.c ltxtquery_op.c 
	contrib/pgcrypto: internal.c md5.c mhash.c pgcrypto.c px-crypt.c 
	                  px.c sha1.c 
	contrib/spi    : timetravel.c 
	contrib/tsearch2: dict_ispell.c wparser_def.c 
	contrib/tsearch2/ispell: spell.c 
	src            : 
	src/backend/access/transam: xlog.c 
	src/backend/commands: aggregatecmds.c define.c functioncmds.c 
	                      operatorcmds.c tablecmds.c typecmds.c 
	src/backend/regex: regc_locale.c regcomp.c 
	src/backend/utils/adt: acl.c bool.c cash.c date.c datetime.c 
	                       encode.c float.c formatting.c numeric.c 
	                       regexp.c regproc.c tid.c timestamp.c 
	src/backend/utils/error: elog.c 
	src/backend/utils/misc: guc.c 
	src/bin/pg_dump: pg_backup_tar.c 
	src/bin/psql   : command.c common.c copy.c describe.c help.c 
	                 psqlscan.l tab-complete.c 
	src/include    : c.h port.h 
	src/include/port: qnx4.h ultrix4.h 
	src/include/regex: regcustom.h 
	src/interfaces/ecpg/pgtypeslib: datetime.c dt_common.c 
	src/interfaces/ecpg/preproc: preproc.y 
	src/interfaces/libpq: Makefile fe-exec.c fe-protocol2.c 
	                      fe-protocol3.c fe-secure.c win32.h 
	src/pl/plpython: plpython.c 
Added files:
	src/port       : pgstrcasecmp.c 
Removed files:
	src/port       : strcasecmp.c 

Log message:
	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.

pgsql-committers by date

Next:From: Bruce MomjianDate: 2004-05-07 01:34:09
Subject: pgsql-server/src/backend/utils/misc guc.c
Previous:From: Bruce MomjianDate: 2004-05-06 19:32:09
Subject: pgsql-server/doc TODO

Privacy Policy | About PostgreSQL
Copyright © 1996-2018 The PostgreSQL Global Development Group