>From: David Christensen <david(dot)christensen(at)crunchydata(dot)com>
>Sent: Friday, June 4, 2021 4:18 AM
>To: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
>Subject: Re: [PATCH] expand the units that pg_size_pretty supports on output
>
>New versions attached to address the initial CF feedback and rebase on HEAD as of now.
>
>0001-Expand-the-units-that-pg_size_pretty-numeric-knows-a.patch
>
>- expands the units that pg_size_pretty() can handle up to YB.
>
>0002-Expand-the-supported-units-in-pg_size_bytes-to-cover.patch
>
>- expands the units that pg_size_bytes() can handle, up to YB.
>
I don't see the need to extend the unit to YB.
What use case do you have in mind?
Regards,
Shinya Kato