8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2b91911 commit 0262251Copy full SHA for 0262251
contrib/pg_upgrade/check.c
@@ -372,7 +372,9 @@ check_new_cluster_is_empty(void)
372
* the new cluster has a 'postgres' database, the number of databases
373
* will not match. We actually could upgrade such a setup, but it would
374
* violate the 1-to-1 mapping of database counts, so we throw an error
375
- * instead.
+ * instead. We would detect this as a database count mismatch during
376
+ * upgrade, but we want to detect it during the check phase and report
377
+ * the database name.
378
*/
379
static void
380
check_old_cluster_has_new_cluster_dbs(void)
0 commit comments