summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Momjian2011-11-01 18:33:51 +0000
committerBruce Momjian2011-11-01 18:34:35 +0000
commit09d1174e5ad3ec7c90c99e2ad4dd896368b018ce (patch)
treedf9c971fa58749f0644f9b7ded04604b2ab4cb12
parentbf405ba8e460051e715d0a91442b579e590328ce (diff)
Update pg_upgrade comment on missing 'postgres' database.
-rw-r--r--contrib/pg_upgrade/relfilenode.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/contrib/pg_upgrade/relfilenode.c b/contrib/pg_upgrade/relfilenode.c
index ad893be1c7..382588f191 100644
--- a/contrib/pg_upgrade/relfilenode.c
+++ b/contrib/pg_upgrade/relfilenode.c
@@ -52,7 +52,8 @@ transfer_all_new_dbs(DbInfoArr *old_db_arr,
/*
* Advance past any databases that exist in the new cluster
- * but not in the old, e.g. "postgres".
+ * but not in the old, e.g. "postgres". (The user might
+ * have removed the 'postgres' database from the old cluster.)
*/
while (strcmp(old_db->db_name, new_db->db_name) != 0 &&
new_dbnum < new_db_arr->ndbs)