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

Commit 445f943

Browse files
dmpgproLiudmila Mantrova
authored and
Liudmila Mantrova
committed
Fix RN 9.6.8.1
1 parent 78483e1 commit 445f943

File tree

1 file changed

+45
-2
lines changed

1 file changed

+45
-2
lines changed

doc/src/sgml/release-proee-9.6.sgml

Lines changed: 45 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
<title>Overview</title>
1010
<para>This release is based on <productname>Postgres Pro Standard</productname> 9.6.8.1
1111
and <productname>Postgres Pro Enterprise</productname> 9.6.7.1. All improvements
12-
inherited from <productname>Postgres Pro Standard</productname> 9.6.7.1 are listed
13-
in <link linkend="release-pro-9-6-7-1"><productname>Postgres Pro Standard</productname> 9.6.8.1 Release Notes</link>.</para>
12+
inherited from <productname>Postgres Pro Standard</productname> 9.6.8.1 are listed
13+
in <link linkend="release-pro-9-6-8-1"><productname>Postgres Pro Standard</productname> 9.6.8.1 Release Notes</link>.</para>
1414
<para>Main changes over <productname>Postgres Pro Enterprise</productname>
1515
9.6.7.1 include:</para>
1616
<itemizedlist>
@@ -24,6 +24,49 @@
2424
</listitem>
2525
</itemizedlist>
2626
</sect2>
27+
<sect2>
28+
<title>Migration to Version &productname; 9.6.8.1</title>
29+
<para>Depending on your current installation, the upgrade procedure will differ.
30+
</para>
31+
<para>To upgrade from a <productname>Postgres Pro Enterprise</productname> version based on
32+
any previous <productname>PostgreSQL</productname> major release, you can perform a dump/restore using
33+
<xref linkend="app-pg-dumpall">, or use the <xref linkend="pgupgrade"> utility.
34+
The first option is safer, while the second is faster and can significantly
35+
speed up the upgrade process for large databases.
36+
</para>
37+
<para>To upgrade from a <productname>Postgres Pro Enterprise</productname> version
38+
based on the same <productname>PostgreSQL</productname> major release,
39+
a dump/restore is not required. Instead of the <literal>pg_upgrade</literal>,
40+
you must use the <literal>pgpro_upgrade</literal> script provided
41+
in this distribution. This script updates metadata information to
42+
handle catalog number format change introduced in
43+
<productname>Postgres Pro Enterprise</productname> 9.6.4.1, as well as
44+
rename the <function>pgpro_build</function> function to <function>pgpro_source_id</function>. If you are upgrading your
45+
<productname>Postgres Pro Enterprise</productname> installation from a binary package, the
46+
<literal>pgpro_upgrade</literal> script is run automatically, or you
47+
are prompted to run it manually.
48+
</para>
49+
<important>
50+
<para>
51+
If you run <literal>pgpro_upgrade</literal> manually,
52+
you must stop postgres service.
53+
The script must be run on behalf of the user owning the database
54+
(typically postgres) and PGDATA environment variable should be
55+
set to the directory where database resides. Running <literal>pgpro_upgrade</literal>
56+
as root will result in an error.
57+
</para>
58+
</important>
59+
<note>
60+
<para>On RPM-based Linux distributions, if you are upgrading from
61+
version 9.6.1.2, make sure to move the data directory from
62+
<filename>pgsql</filename> to the <filename>pgproee</filename>
63+
directory before running the <literal>pgpro_upgrade</literal> script.
64+
</para>
65+
</note>
66+
<para>To migrate from vanilla PostgreSQL 9.6.x or <productname>Postgres Pro</productname>,
67+
perform a dump/restore using <xref linkend="app-pg-dumpall">.
68+
</para>
69+
</sect2>
2770
</sect1>
2871
<sect1 id="release-proee-9-6-7-1">
2972
<title>&productname; 9.6.7.1</title>

0 commit comments

Comments
 (0)