]> git.ipfire.org Git - thirdparty/postgresql.git/commitdiff
doc: mention dependency on collation libraries
authorBruce Momjian <bruce@momjian.us>
Sat, 2 Jul 2016 15:22:36 +0000 (11:22 -0400)
committerBruce Momjian <bruce@momjian.us>
Sat, 2 Jul 2016 15:22:36 +0000 (11:22 -0400)
Document that index storage is dependent on the operating system's
collation library ordering, and any change in that ordering can create
invalid indexes.

Discussion: 20160617154311.GB19359@momjian.us

Backpatch-through: 9.1

doc/src/sgml/runtime.sgml

index fba67a37c79940a8179e6f610e9cb98f1a376cdc..cdc16c3ce5a45435faa1093b33d0a51fa13299dc 100644 (file)
@@ -183,6 +183,15 @@ postgres$ <userinput>initdb -D /usr/local/pgsql/data</userinput>
    locale setting.  For details see <xref linkend="multibyte">.
   </para>
 
+  <para>
+   Non<literal>C</> and and non-<literal>POSIX</> locales rely on the
+   operating system's collation library for character set ordering.
+   This controls the ordering of keys stored in indexes.  For this reason,
+   a cluster cannot switch to an incompatible collation library version,
+   either through snapshot restore, binary streaming replication, or
+   <application>pg_upgrade</> run.
+  </para>
+
   <sect2 id="creating-cluster-mount-points">
    <title>Use of Secondary File Systems</title>