Add pg_upgrade comment for why we can't use template1 inheritance for

the support functions.
This commit is contained in:
Bruce Momjian 2011-02-01 12:22:34 -05:00
parent ef19dc6d39
commit 2bb87a61a8
1 changed files with 3 additions and 1 deletions

View 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 "