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

View File

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