doc: mention pg_upgrade extension script
authorBruce Momjian <[email protected]>
Mon, 9 Aug 2021 01:05:46 +0000 (21:05 -0400)
committerBruce Momjian <[email protected]>
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 067d1f1f7ad8c0876f638515a9e248ad00e1b3e0..c522611746e9effc616305845e2317b903454107 100644 (file)
@@ -279,8 +279,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>