Re: [PATCH] expand the units that pg_size_pretty supports on output - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: [PATCH] expand the units that pg_size_pretty supports on output
Date
Msg-id YHfv42LpBmP6zI8r@paquier.xyz
Whole thread Raw
In response to [PATCH] expand the units that pg_size_pretty supports on output  (David Christensen <david.christensen@crunchydata.com>)
List pgsql-hackers
On Wed, Apr 14, 2021 at 11:13:47AM -0500, David Christensen wrote:
> Enclosed is a patch that expands the unit output for
> pg_size_pretty(numeric) going up to Yottabytes; I reworked the existing
> numeric output code to account for the larger number of units we're using
> rather than just adding nesting levels.
>
> There are also a few other places that could benefit from expanded units,
> but this is a standalone starting point.

Please don't forget to add this patch to the next commit fest of July
if you want to get some reviews:
https://commitfest.postgresql.org/33/

Note that the development of Postgres 14 is over, and that there was a
feature freeze last week, but this can be considered for 15.
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: Julien Rouhaud
Date:
Subject: Re: Problems around compute_query_id
Next
From: Michael Paquier
Date:
Subject: Re: Extensions not dumped when --schema is used