Since commit
e462856a7a, pg_upgrade automatically creates a script to
update extensions, so mention that instead of ALTER EXTENSION.
Backpatch-through: 9.6
must be installed in the new cluster, usually via operating system
commands. Do not load the schema definitions, e.g., CREATE
EXTENSION pgcrypto, because these will be duplicated from
- the old cluster. (Extensions with available updates can be processed
- later using ALTER EXTENSION ... UPDATE.)
+ the old cluster. If extension updates are available,
+
pg_upgrade will report this and create
+ a script that can be run later to update them.