Skip to content

Commit 2bb87a6

Browse files
committed
Add pg_upgrade comment for why we can't use template1 inheritance for
the support functions.
1 parent ef19dc6 commit 2bb87a6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

contrib/pg_upgrade/pg_upgrade.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,9 @@ prepare_new_databases(void)
236236

237237
/*
238238
* We have to create the databases first so we can install support
239-
* functions in all the other databases.
239+
* functions in all the other databases. Ideally we could create
240+
* the support functions in template1 but pg_dumpall creates database
241+
* using the template0 template.
240242
*/
241243
exec_prog(true,
242244
SYSTEMQUOTE "\"%s/psql\" --set ON_ERROR_STOP=on "

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy