Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitcc7091d

Browse files
committed
pg_upgrade: improve docs about extension upgrades
The previous wording was unclear about the steps needed to upgradeextensions, and how to update them after pg_upgrade.Reported-by: Dave CramerDiscussion:https://postgr.es/m/CADK3HHKawwbOcGwMGnDuAf3-U8YfvTcS8jqDv3UM=niijs3MMA@mail.gmail.comBackpatch-through: 9.6
1 parent8a0408a commitcc7091d

File tree

1 file changed

+21
-11
lines changed

1 file changed

+21
-11
lines changed

‎doc/src/sgml/ref/pgupgrade.sgml

Lines changed: 21 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -269,17 +269,27 @@ make prefix=/usr/local/pgsql.new install
269269
</step>
270270

271271
<step>
272-
<title>Installcustom shared object files</title>
272+
<title>Installextension shared object files</title>
273273

274274
<para>
275-
Install any custom shared object files (or DLLs) used by the old cluster
276-
into the new cluster, e.g., <filename>pgcrypto.so</filename>,
277-
whether they are from <filename>contrib</filename>
278-
or some other source. Do not install the schema definitions, e.g.,
279-
<command>CREATE EXTENSION pgcrypto</command>, because these will be upgraded
280-
from the old cluster.
281-
Also, any custom full text search files (dictionary, synonym,
282-
thesaurus, stop words) must also be copied to the new cluster.
275+
Many extensions and custom modules, whether from
276+
<filename>contrib</filename> or another source, use shared object
277+
files (or DLLs), e.g., <filename>pgcrypto.so</filename>. If the old
278+
cluster used these, shared object files matching the new server binary
279+
must be installed in the new cluster, usually via operating system
280+
commands. Do not load the schema definitions, e.g., <command>CREATE
281+
EXTENSION pgcrypto</command>, because these will be duplicated from
282+
the old cluster. (Extensions with available updates can be processed
283+
later using <literal>ALTER EXTENSION ... UPDATE</literal>.)
284+
</para>
285+
</step>
286+
287+
<step>
288+
<title>Copy custom full-text search files</title>
289+
290+
<para>
291+
Copy any custom full text search files (dictionary, synonym,
292+
thesaurus, stop words) from the old to the new cluster.
283293
</para>
284294
</step>
285295

@@ -459,10 +469,10 @@ pg_upgrade.exe
459469
</step>
460470

461471
<step>
462-
<title>Installcustom shared object files</title>
472+
<title>Installextension shared object files</title>
463473

464474
<para>
465-
Install the samecustom shared object files on the new standbys
475+
Install the sameextension shared object files on the new standbys
466476
that you installed in the new primary cluster.
467477
</para>
468478
</step>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp