]> granicus.if.org Git - postgresql/commitdiff
pg_upgrade docs: give tips on automation
authorBruce Momjian <bruce@momjian.us>
Thu, 9 May 2013 20:05:26 +0000 (16:05 -0400)
committerBruce Momjian <bruce@momjian.us>
Thu, 9 May 2013 20:05:26 +0000 (16:05 -0400)
Document that post-upgrade steps are likely to be the same for all
clusters with the same DDL/schemas;  this should help automated
upgrades.

doc/src/sgml/pgupgrade.sgml

index 12f86f77b40168a72b87f4b393f5a846cd1a26c6..d676d286ab282a421c52cd379fbd20352c6a9a1e 100644 (file)
@@ -518,7 +518,11 @@ psql --username postgres --file script.sql postgres
    All failure, rebuild, and reindex cases will be reported by
    <application>pg_upgrade</> if they affect your installation;
    post-upgrade scripts to rebuild tables and indexes will be
-   generated automatically.
+   generated automatically.  If you are trying to automate the upgrade
+   of many clusters, you should find that clusters with identical database
+   schemas require the same post-upgrade steps for all cluster upgrades;
+   this is because the post-upgrade steps are based on the database
+   schemas, and not user data.
   </para>
 
   <para>