summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Momjian2016-07-02 15:22:36 +0000
committerBruce Momjian2016-07-02 15:22:36 +0000
commitb54f7a9ac9646845138f6851fdf3097e22daa383 (patch)
tree9575bd51ddef36473b8fd382e625ebcf6b394814
parent7b67a0a49c19a566ee735f3b156677dab11bd902 (diff)
doc: mention dependency on collation libraries
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
-rw-r--r--doc/src/sgml/runtime.sgml9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/src/sgml/runtime.sgml b/doc/src/sgml/runtime.sgml
index 4a0e35a5eba..6d39ce7f22b 100644
--- a/doc/src/sgml/runtime.sgml
+++ b/doc/src/sgml/runtime.sgml
@@ -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>