Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 65aebab

Browse files
author
Marina Polyakova
committed
Merge remote-tracking branch 'origin/PGPRO10' into PGPRO-626-ICU
2 parents 9ad6463 + 3b46aca commit 65aebab

File tree

455 files changed

+290859
-16117
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

455 files changed

+290859
-16117
lines changed

doc/src/sgml/release-pro-10.sgml

Lines changed: 51 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<title>Postgres Pro 10.0.1</title>
66
<formalpara>
77
<title>Release Date:</title>
8-
<para>2017-10-25</para>
8+
<para>2017-10-31</para>
99
</formalpara>
1010
<sect2>
1111
<title>Overview</title>
@@ -106,6 +106,24 @@
106106
You must take it into account when upgrading to this release
107107
to avoid breaking indexes and constraints.
108108
</para>
109+
<important>
110+
<para>
111+
If your current <productname>Postgres Pro</productname> installation
112+
uses ICU, do not update ICU library to a newer version.
113+
Otherwise, you cannot upgrade to <productname>Postgres Pro</productname> 10.
114+
</para>
115+
</important>
116+
<important>
117+
<para>
118+
For <productname>PostgreSQL</productname> 9.5 and 9.5.1,
119+
as well as <productname>Postgres Pro</productname> 9.5.0.1 and
120+
9.5.1.2, you cannot perform an upgrade to
121+
<productname>Postgres Pro</productname> 10 directly. If you are
122+
using one of these versions, upgrade your installation to an
123+
intermediate version first, such as
124+
<productname>Postgres Pro</productname> 9.5.2.1.
125+
</para>
126+
</important>
109127
<para>
110128
When using <xref linkend="pgupgrade">, make sure that
111129
<xref linkend="APP-INITDB"> sets the correct default collation provider
@@ -118,32 +136,46 @@
118136
</para>
119137
</listitem>
120138
<listitem>
121-
<para>When upgrading from <productname>Postgres Pro</productname>, omit the default collation
122-
provider option to select the required collation provider automatically.
123-
In this case, <literal>libc</literal> provider will be used for C and POSIX locales,
124-
while <literal>icu</literal> provider will be used for all the other locales.
139+
<para>When upgrading from <productname>Postgres Pro</productname>, omit
140+
the default collation provider option to select the required collation
141+
provider automatically. In this case, <literal>libc</literal> provider
142+
will be used for databases with C and POSIX locales, as well as for all
143+
databases with single-byte encodings, while <literal>icu</literal>
144+
provider will be used for all the other cases.
125145
</para>
126146
</listitem>
127147
</itemizedlist>
128-
<para>If <application>pg_upgrade</application> creates any SQL files in its
129-
current directory, run these files to complete the upgrade.
130-
For example, if the previous installation
131-
contained any indexes or constraints with non-default collations,
132-
<application>pg_upgrade</application> declares such indexes and
133-
constraints invalid and creates <filename>reindex_text_indexes.sql</filename>
134-
and <filename>validate_text_contraints.sql</filename>, respectively.
135-
</para>
148+
<para>If <application>pg_upgrade</application> creates any SQL files in
149+
its current directory, run these files to complete the upgrade.
150+
</para>
136151

137152
<para>
138153
When you are using <xref linkend="app-pg-dumpall">
139-
to perform the upgrade, <productname>Postgres Pro</productname> uses the collation provider
140-
specified with the <command>initdb</command> command for the new cluster.
141-
In this case, indexes are rebuilt automatically, but you may need to
142-
manually resolve constraint issues if there are any constraints
143-
depending on non-default collations. For details on the default
144-
collation providers, see <xref linkend="collation-managing">.
154+
to perform the upgrade, <productname>Postgres Pro</productname> uses
155+
the collation provider specified with the <command>initdb</command>
156+
command for the new cluster. In this case, indexes are rebuilt
157+
automatically. To avoid issues with collation-dependent constraints,
158+
you are recommended to use <literal>libc</literal> provider when
159+
upgrading from vanilla <productname>PostgreSQL</productname>, and
160+
omit the provider when upgrading from a previous version of
161+
<productname>Postgres Pro</productname>.
145162
</para>
146163

164+
<note>
165+
<para>
166+
If the previous <productname>Postgres Pro</productname> installation
167+
contained any indexes or constraints depending on collations
168+
other than the default collation of the database, <literal>C</literal>,
169+
or <literal>POSIX</literal>, such databases could contain some data
170+
that violated the specified constraints and made indexes inconsistent.
171+
In such cases, you can only use <application>pg_upgrade</application> to upgrade to
172+
<productname>Postgres Pro</productname> 10, as a dump/restore scenario may be impossible.
173+
To resolve such issues, <application>pg_upgrade</application> declares such indexes and
174+
constraints invalid and creates <filename>reindex_text_indexes.sql</filename>
175+
and <filename>validate_text_contraints.sql</filename>, respectively.
176+
</para>
177+
</note>
178+
147179
<para>
148180
When building <productname>Postgres Pro</> manually, you must include ICU
149181
using the <option>--with-icu</option> option. Otherwise, you cannot

0 commit comments

Comments
 (0)