From: Bruce Momjian Date: Mon, 9 Aug 2021 01:05:46 +0000 (-0400) Subject: doc: mention pg_upgrade extension script X-Git-Tag: REL9_6_23~3 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c3c1fe09e7c34e1abbb0d30e69b7a26abe4d1411;p=thirdparty%2Fpostgresql.git 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 --- diff --git a/doc/src/sgml/ref/pgupgrade.sgml b/doc/src/sgml/ref/pgupgrade.sgml index 067d1f1f7ad..c522611746e 100644 --- a/doc/src/sgml/ref/pgupgrade.sgml +++ b/doc/src/sgml/ref/pgupgrade.sgml @@ -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., 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.