OSDN Git Service

Add pg_upgrade comment for why we can't use template1 inheritance for
authorBruce Momjian <bruce@momjian.us>
Tue, 1 Feb 2011 17:22:34 +0000 (12:22 -0500)
committerBruce Momjian <bruce@momjian.us>
Tue, 1 Feb 2011 17:23:08 +0000 (12:23 -0500)
the support functions.

contrib/pg_upgrade/pg_upgrade.c

index d3e1fef..368c0e7 100644 (file)
@@ -236,7 +236,9 @@ prepare_new_databases(void)
 
        /*
         * We have to create the databases first so we can install support
-        * functions in all the other databases.
+        * functions in all the other databases.  Ideally we could create
+        * the support functions in template1 but pg_dumpall creates database
+        * using the template0 template.
         */
        exec_prog(true,
                          SYSTEMQUOTE "\"%s/psql\" --set ON_ERROR_STOP=on "