Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
doc: mention pg_upgrade extension script
authorBruce Momjian <bruce@momjian.us>
Mon, 9 Aug 2021 01:05:46 +0000 (21:05 -0400)
committerBruce Momjian <bruce@momjian.us>
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 cb047ac4f3fee4eeb42ee7d562c2496ed4388075..7e3158685d19aa587f6427d1ca41128b9f99482f 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., <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>