Re: [PATCH] expand the units that pg_size_pretty supports on output

Поиск
Список
Период
Сортировка
От David Christensen
Тема Re: [PATCH] expand the units that pg_size_pretty supports on output
Дата
Msg-id CAOxo6XLov5vJbAvjY04bD-aKG2Yb-NsLfQnZWCLwmBm+XaRHjQ@mail.gmail.com
обсуждение исходный текст
Ответ на [PATCH] expand the units that pg_size_pretty supports on output  (David Christensen <david.christensen@crunchydata.com>)
Ответы Re: [PATCH] expand the units that pg_size_pretty supports on output
Re: [PATCH] expand the units that pg_size_pretty supports on output
Список pgsql-hackers
A second patch to teach the same units to pg_size_bytes().

Best,

David

On Wed, Apr 14, 2021 at 11:13 AM David Christensen <david.christensen@crunchydata.com> wrote:
Hi folks,

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.

Best,

David
Вложения

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: pg_upgrade fails to detect unsupported arrays and ranges
Следующее
От: Álvaro Herrera
Дата:
Сообщение: Re: ALTER TABLE .. DETACH PARTITION CONCURRENTLY