]> granicus.if.org Git - postgresql/commitdiff
doc: mention dependency on collation libraries
authorBruce Momjian <bruce@momjian.us>
Sat, 2 Jul 2016 15:22:35 +0000 (11:22 -0400)
committerBruce Momjian <bruce@momjian.us>
Sat, 2 Jul 2016 15:22:35 +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 32a5de8407acb2adae5a3e1712dce5af5bc57ad7..4f26f2af077ebc41dc32fa8120e97d7be42836db 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>