Allow pg_read_all_stats to see database size in \l+

From: Christoph Berg <myon(at)debian(dot)org>
To: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Cc: Zsolt Parragi <zsolt(dot)parragi(at)percona(dot)com>
Subject: Allow pg_read_all_stats to see database size in \l+
Date: 2026-07-22 11:26:34
Message-ID: amCo6qRmnfPVk4-V@msg.df7cb.de
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

psql \l+ didn't consider pg_read_all_stats when determining whether
the user was allowed to see the database size.

Split off from the "Available disk space per tablespace" patch since
it's really an independent fix. Thanks Zsolt for pointing that out.

This might be considered for backpatching.

Christoph

Attachment Content-Type Size
v1-0001-Allow-pg_read_all_stats-to-see-database-size-in-l.patch text/x-diff 1.1 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Christoph Berg 2026-07-22 11:30:19 Re: Available disk space per tablespace
Previous Message Andrey Borodin 2026-07-22 11:19:11 Re: Streaming replication and WAL archive interactions