|
5 | 5 | <title>Postgres Pro 10.0.1</title>
|
6 | 6 | <formalpara>
|
7 | 7 | <title>Release Date:</title>
|
8 |
| - <para>2017-10-25</para> |
| 8 | + <para>2017-10-31</para> |
9 | 9 | </formalpara>
|
10 | 10 | <sect2>
|
11 | 11 | <title>Overview</title>
|
|
106 | 106 | You must take it into account when upgrading to this release
|
107 | 107 | to avoid breaking indexes and constraints.
|
108 | 108 | </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> |
109 | 127 | <para>
|
110 | 128 | When using <xref linkend="pgupgrade">, make sure that
|
111 | 129 | <xref linkend="APP-INITDB"> sets the correct default collation provider
|
|
118 | 136 | </para>
|
119 | 137 | </listitem>
|
120 | 138 | <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. |
125 | 145 | </para>
|
126 | 146 | </listitem>
|
127 | 147 | </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> |
136 | 151 |
|
137 | 152 | <para>
|
138 | 153 | 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>. |
145 | 162 | </para>
|
146 | 163 |
|
| 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 | + |
147 | 179 | <para>
|
148 | 180 | When building <productname>Postgres Pro</> manually, you must include ICU
|
149 | 181 | using the <option>--with-icu</option> option. Otherwise, you cannot
|
|
0 commit comments