Re: [PATCH] psql: \dn+ to show size of each schema (and \dA+ for AMs)
Justin Pryzby <pryzby@telsasoft.com>
From: Justin Pryzby <pryzby@telsasoft.com>
To: Pavel Stehule <pavel.stehule@gmail.com>
Cc: Laurenz Albe <laurenz.albe@cybertec.at>, Ian Lawrence Barwick <barwick@gmail.com>, pgsql-hackers@postgresql.org, Gilles Darold <gilles@darold.net>, Julien Rouhaud <rjuju123@gmail.com>
Date: 2023-03-11T22:55:03Z
Lists: pgsql-hackers
Attachments
- 0001-Add-pg_am_size-pg_namespace_size.patch (text/x-diff)
On Thu, Dec 15, 2022 at 10:13:23AM -0600, Justin Pryzby wrote: > Rebased on c727f511b. Rebased on 30a53b792. With minor changes including fixes to an intermediate patch. > This patch record was "closed for lack of interest", but I think what's > actually needed is committer review of which approach to take. > > - add backend functions but do not modify psql ? > - add to psql slash-plus commnds ? > - introduce psql double-plus commands for new options ? > - change pre-existing psql plus commands to only show size with > double-plus ? > - go back to the original, two-line client-side sum() ? > > Until then, the patchset is organized with those questions in mind.