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 81301b8 commit 1609ca5Copy full SHA for 1609ca5
contrib/pg_upgrade/check.c
@@ -491,7 +491,8 @@ check_is_super_user(ClusterInfo *cluster)
491
"WHERE rolname = current_user");
492
493
if (PQntuples(res) != 1 || strcmp(PQgetvalue(res, 0, 0), "t") != 0)
494
- pg_log(PG_FATAL, "the database user is not a superuser\n");
+ pg_log(PG_FATAL, "database user \"%s\" is not a superuser\n",
495
+ os_info.user);
496
497
PQclear(res);
498
0 commit comments