Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 09d1174

Browse files
committed
Update pg_upgrade comment on missing 'postgres' database.
1 parent bf405ba commit 09d1174

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

contrib/pg_upgrade/relfilenode.c

+2-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,8 @@ transfer_all_new_dbs(DbInfoArr *old_db_arr,
5252

5353
/*
5454
* Advance past any databases that exist in the new cluster
55-
* but not in the old, e.g. "postgres".
55+
* but not in the old, e.g. "postgres". (The user might
56+
* have removed the 'postgres' database from the old cluster.)
5657
*/
5758
while (strcmp(old_db->db_name, new_db->db_name) != 0 &&
5859
new_dbnum < new_db_arr->ndbs)

0 commit comments

Comments
 (0)