Update comment to reflect that LC_COLLATE and LC_CTYPE are now

per-database settings.
This commit is contained in:
Heikki Linnakangas 2009-04-01 09:17:32 +00:00
parent dff26735d3
commit 00b24e1678

View File

@ -4,16 +4,16 @@
* *
* Portions Copyright (c) 2002-2009, PostgreSQL Global Development Group * Portions Copyright (c) 2002-2009, PostgreSQL Global Development Group
* *
* $PostgreSQL: pgsql/src/backend/utils/adt/pg_locale.c,v 1.48 2009/01/27 12:45:09 mha Exp $ * $PostgreSQL: pgsql/src/backend/utils/adt/pg_locale.c,v 1.49 2009/04/01 09:17:32 heikki Exp $
* *
*----------------------------------------------------------------------- *-----------------------------------------------------------------------
*/ */
/*---------- /*----------
* Here is how the locale stuff is handled: LC_COLLATE and LC_CTYPE * Here is how the locale stuff is handled: LC_COLLATE and LC_CTYPE
* are fixed by initdb, stored in pg_control, and cannot be changed. * are fixed at CREATE DATABASE time, stored in pg_database, and cannot
* Thus, the effects of strcoll(), strxfrm(), isupper(), toupper(), * be changed. Thus, the effects of strcoll(), strxfrm(), isupper(),
* etc. are always in the same fixed locale. * toupper(), etc. are always in the same fixed locale.
* *
* LC_MESSAGES is settable at run time and will take effect * LC_MESSAGES is settable at run time and will take effect
* immediately. * immediately.