Re: Allow pg_read_all_stats to see database size in \l+

From: Fujii Masao <masao(dot)fujii(at)gmail(dot)com>
To: Christoph Berg <myon(at)debian(dot)org>
Cc: Álvaro Herrera <alvherre(at)kurilemu(dot)de>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>, Zsolt Parragi <zsolt(dot)parragi(at)percona(dot)com>
Subject: Re: Allow pg_read_all_stats to see database size in \l+
Date: 2026-07-23 09:44:06
Message-ID: CAHGQGwHtjBFkfQmDXCgB2_aVG=HL8nfOu3mWdPqO0DZNpYtgOQ@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, Jul 22, 2026 at 11:52 PM Christoph Berg <myon(at)debian(dot)org> wrote:
>
> Re: Álvaro Herrera
> > + pset.sversion >= 100000 ? "OR pg_catalog.pg_has_role('pg_read_all_stats', 'USAGE')\n" : "",
>
> Should I create patch files for 14..19?

I've prepared patches for the older stable branches and attached them.

While doing so, I also updated the documentation changes.

Regards,

--
Fujii Masao

Attachment Content-Type Size
v3-0001-pg16_pg19-psql-Allow-pg_read_all_stats-to-see-database-size.txt text/plain 2.7 KB
v3-0001-pg15-psql-Allow-pg_read_all_stats-to-see-database-size.txt text/plain 2.8 KB
v3-0001-pg20-psql-Allow-pg_read_all_stats-to-see-database-size.patch application/octet-stream 2.4 KB
v3-0001-pg14-psql-Allow-pg_read_all_stats-to-see-database-size.txt text/plain 2.6 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Xuneng Zhou 2026-07-23 09:59:05 Re: BUG: ReadStream look-ahead exhausts local buffers when effective_io_concurrency>=64
Previous Message Ayush Tiwari 2026-07-23 09:25:38 Re: Incorrect check in 037_except.pl?