summaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
authorHeikki Linnakangas2008-09-23 10:58:03 +0000
committerHeikki Linnakangas2008-09-23 10:58:03 +0000
commitc2d4526495a149d215a9c2a6e0f7c165e78e6b66 (patch)
tree0eb89fd07cddac5814d3eae3e0d0168ca43e45cc /doc/src
parent61d967498802ab86d8897cb3c61740d7e9d712f6 (diff)
Tighten the check in initdb and CREATE DATABASE that the chosen encoding
matches the encoding of the locale. LC_COLLATE is now checked in addition to LC_CTYPE.
Diffstat (limited to 'doc/src')
-rw-r--r--doc/src/sgml/charset.sgml10
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/src/sgml/charset.sgml b/doc/src/sgml/charset.sgml
index c012294ef81..0aeef78966b 100644
--- a/doc/src/sgml/charset.sgml
+++ b/doc/src/sgml/charset.sgml
@@ -1,4 +1,4 @@
-<!-- $PostgreSQL: pgsql/doc/src/sgml/charset.sgml,v 2.88 2008/09/23 09:20:34 heikki Exp $ -->
+<!-- $PostgreSQL: pgsql/doc/src/sgml/charset.sgml,v 2.89 2008/09/23 10:58:03 heikki Exp $ -->
<chapter id="charset">
<title>Localization</>
@@ -320,10 +320,10 @@ initdb --locale=sv_SE
<para>
An important restriction, however, is that each database's character set
- must be compatible with the database's <envar>LC_CTYPE</> setting.
- When <envar>LC_CTYPE</> is <literal>C</> or <literal>POSIX</>, any
- character set is allowed, but for other settings of <envar>LC_CTYPE</>
- there is only one character set that will work correctly.
+ must be compatible with the database's <envar>LC_CTYPE</> and
+ <envvar>LC_COLLATE</> locale settings. For <literal>C</> or
+ <literal>POSIX</> locale, any character set is allowed, but for other
+ locales there is only one character set that will work correctly.
</para>
<sect2 id="multibyte-charset-supported">