doc: mention pg_upgrade extension script

Since commit e462856a7a, pg_upgrade automatically creates a script to
update extensions, so mention that instead of ALTER EXTENSION.

Backpatch-through: 9.6
This commit is contained in:
Bruce Momjian 2021-08-08 21:05:46 -04:00
parent ae03a7c739
commit d8a75b1308
1 changed files with 3 additions and 2 deletions

View File

@ -309,8 +309,9 @@ make prefix=/usr/local/pgsql.new install
must be installed in the new cluster, usually via operating system
commands. Do not load the schema definitions, e.g., <command>CREATE
EXTENSION pgcrypto</command>, because these will be duplicated from
the old cluster. (Extensions with available updates can be processed
later using <literal>ALTER EXTENSION ... UPDATE</literal>.)
the old cluster. If extension updates are available,
<application>pg_upgrade</application> will report this and create
a script that can be run later to update them.
</para>
</step>