Re: [PATCH] psql: \dn+ to show size of each schema (and \dA+ for AMs)

From: Justin Pryzby <pryzby(at)telsasoft(dot)com>
To: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
Cc: Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>, Ian Lawrence Barwick <barwick(at)gmail(dot)com>, pgsql-hackers(at)postgresql(dot)org, Gilles Darold <gilles(at)darold(dot)net>, Julien Rouhaud <rjuju123(at)gmail(dot)com>
Subject: Re: [PATCH] psql: \dn+ to show size of each schema (and \dA+ for AMs)
Date: 2023-03-11 22:55:03
Message-ID: ZA0Gx9seC/UNIyZ6@telsasoft.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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.

Attachment Content-Type Size
0001-Add-pg_am_size-pg_namespace_size.patch text/x-diff 5.7 KB
0002-psql-add-convenience-commands-dA-and-dn.patch text/x-diff 9.4 KB
0003-f-convert-the-other-verbose-to-int-too.patch text/x-diff 40.4 KB
0004-Move-the-double-plus-Size-columns-to-the-right.patch text/x-diff 9.9 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2023-03-11 23:22:26 Re: BUG: Postgres 14 + vacuum_defer_cleanup_age + FOR UPDATE + UPDATE
Previous Message Karl O. Pinc 2023-03-11 22:31:28 Re: Doc: Rework contrib appendix -- informative titles, tweaked sentences