Skip to content

Commit abe8f91

Browse files
committed
[Doc]: how to update pg_pathman section
1 parent 3f4629d commit abe8f91

File tree

2 files changed

+30
-1
lines changed

2 files changed

+30
-1
lines changed

doc/src/sgml/pgpathman.sgml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,34 @@ CREATE EXTENSION pg_pathman;
132132
</para>
133133
</blockquote>
134134
</sect2>
135+
<sect2 id="pg-pathman-how-to-update">
136+
<title>How to update</title>
137+
<para>
138+
In order to update pg_pathman:
139+
</para>
140+
<itemizedlist spacing="compact">
141+
<listitem>
142+
<para>
143+
Install the latest _stable_ release of pg_pathman.
144+
</para>
145+
</listitem>
146+
<listitem>
147+
<para>
148+
Restart your PostgreSQL cluster.
149+
</para>
150+
</listitem>
151+
<listitem>
152+
<para>
153+
Execute the following queries:
154+
</para>
155+
<programlisting>
156+
/* replace X.Y with the version number, e.g. 1.3 */
157+
ALTER EXTENSION pg_pathman UPDATE TO "X.Y";
158+
SET pg_pathman.enable = t;
159+
</programlisting>
160+
</listitem>
161+
</itemizedlist>
162+
</sect2>
135163
<sect2 id="available-functions">
136164
<title>Available functions</title>
137165
<sect3 id="partition-creation">

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@
1515

1616
<itemizedlist>
1717
<listitem>
18-
<para>Module <application>pg_pathman</application> has been updated to version 1.3 (See <xref linkend="pg-pathman">).</para>
18+
<para>Module <application>pg_pathman</application> has been updated to
19+
version 1.3 (See <xref linkend="pg-pathman"> and <xref linkend="pg-pathman-how-to-update">).</para>
1920
</listitem>
2021
<listitem>
2122
<para>The <application>sr_plan</application> module is now initialized independently for each database instance (See <xref linkend="sr-plan">).</para>

0 commit comments

Comments
 (0)