Re: Available disk space per tablespace

From: Zsolt Parragi <zsolt(dot)parragi(at)percona(dot)com>
To: Christoph Berg <myon(at)debian(dot)org>
Cc: pgsql-hackers(at)lists(dot)postgresql(dot)org, Thomas Munro <thomas(dot)munro(at)gmail(dot)com>
Subject: Re: Available disk space per tablespace
Date: 2026-07-21 19:37:59
Message-ID: CAN4CZFNPwi2J6zSTiSNqpxuSHh6X+eQ0xdHU9d-KSZHM0A+mAw@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

@@ -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?

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Ivan Kush 2026-07-21 19:41:14 Re: [PATCH] Fix memory leak in pg_config
Previous Message Ayush Tiwari 2026-07-21 19:10:00 Re: Caching a partition index's parent OID in the relcache?