doc: mention pg_upgrade extension script
authorBruce Momjian
Mon, 9 Aug 2021 01:05:46 +0000 (21:05 -0400)
committerBruce Momjian
Mon, 9 Aug 2021 01:05:46 +0000 (21:05 -0400)
Since commit e462856a7a, pg_upgrade automatically creates a script to
update extensions, so mention that instead of ALTER EXTENSION.

Backpatch-through: 9.6

doc/src/sgml/ref/pgupgrade.sgml

index 0a7146580506b46b1a9e395d52ff060d0cd8b391..20efdd771f513ed249748663c9e67814af95f8c5 100644 (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., 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.