@@ -986,7 +1005,8 @@ listAllDbs(const char *pattern, bool verbose)
        printACLColumn(&buf, "d.datacl");
        if (verbose)
                appendPQExpBuffer(&buf,
-                                                 ",\n  CASE WHEN 
pg_catalog.has_database_privilege(d.datname,
'CONNECT')\n"
+                                                 ",\n  CASE WHEN 
pg_catalog.has_database_privilege(d.datname,
'CONNECT') OR\n"
+                                                 "               
pg_catalog.pg_has_role('pg_read_all_stats', 'USAGE')\n"

While I think this is a good change, it isn't mentioned in the commit
message and seems somewhat unrelated to the other changes?


Reply via email to