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 76e5b4c commit 78318d6Copy full SHA for 78318d6
contrib/pg_upgrade/check.c
@@ -484,6 +484,8 @@ check_is_super_user(ClusterInfo *cluster)
484
PGresult *res;
485
PGconn *conn = connectToServer(cluster, "template1");
486
487
+ prep_status("Checking database user is a superuser");
488
+
489
/* Can't use pg_authid because only superusers can view it. */
490
res = executeQueryOrDie(conn,
491
"SELECT rolsuper "
@@ -497,6 +499,8 @@ check_is_super_user(ClusterInfo *cluster)
497
499
PQclear(res);
498
500
501
PQfinish(conn);
502
503
+ check_ok();
504
}
505
506
0 commit comments