]> granicus.if.org Git - postgresql/commitdiff
pg_upgrade docs: clarify instructions on standby extensions
authorBruce Momjian <bruce@momjian.us>
Sat, 25 Feb 2017 17:59:23 +0000 (12:59 -0500)
committerBruce Momjian <bruce@momjian.us>
Sat, 25 Feb 2017 17:59:23 +0000 (12:59 -0500)
Previously the pg_upgrade standby upgrade instructions said not to
execute pgcrypto.sql, but it should have referenced the extension
command "CREATE EXTENSION pgcrypto".  This patch makes that doc change.

Reported-by: a private bug report
Backpatch-through: 9.4, where standby instructions were added

doc/src/sgml/ref/pgupgrade.sgml

index ad28526296e40c0208a8b7f2c38d0b16b93c007f..49aaf513f5163235e13c93fb04a83291447094e7 100644 (file)
@@ -273,7 +273,8 @@ make prefix=/usr/local/pgsql.new install
      into the new cluster, e.g. <filename>pgcrypto.so</filename>,
      whether they are from <filename>contrib</filename>
      or some other source. Do not install the schema definitions, e.g.
-     <filename>pgcrypto.sql</>, because these will be upgraded from the old cluster.
+     <command>CREATE EXTENSION pgcrypto</>, because these will be upgraded
+     from the old cluster.
      Also, any custom full text search files (dictionary, synonym,
      thesaurus, stop words) must also be copied to the new cluster.
     </para>