summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2011-02-01 12:22:34 -0500
committerBruce Momjian <bruce@momjian.us>2011-02-01 12:23:08 -0500
commit2bb87a61a84ab74b7ba820aac787443a78897bf4 (patch)
treee7daa708f2fdd75383a1d3583578b390df9e6629
parentef19dc6d39dd2490ff61489da55d95d6941140bf (diff)
Add pg_upgrade comment for why we can't use template1 inheritance for
the support functions.
-rw-r--r--contrib/pg_upgrade/pg_upgrade.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/contrib/pg_upgrade/pg_upgrade.c b/contrib/pg_upgrade/pg_upgrade.c
index d3e1fefa40a..368c0e781a6 100644
--- a/contrib/pg_upgrade/pg_upgrade.c
+++ b/contrib/pg_upgrade/pg_upgrade.c
@@ -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 "