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

Поиск
Список
Период
Сортировка
От David Rowley
Тема Re: [PATCH] expand the units that pg_size_pretty supports on output
Дата
Msg-id CAApHDvoaoAqjE3usLG-aSe9MJeeM1c4WQvaR3HbeGbCqYbMa7Q@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [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
Список pgsql-hackers
On Wed, 7 Jul 2021 at 02:46, David Christensen
<david.christensen@crunchydata.com> wrote:
> if we do decide to expand the units table there will be a
> few additional changes (most significantly, the return value of `pg_size_bytes()` will need to switch
> to `numeric`).

I wonder if it's worth changing pg_size_bytes() to return NUMERIC
regardless of if we add any additional units or not.

Would you like to create 2 patches, one to change the return type and
another to add the new units, both based on top of the v2 patch I sent
earlier?

David



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

Предыдущее
От: David Rowley
Дата:
Сообщение: Re: Binary search in ScalarArrayOpExpr for OR'd constant arrays
Следующее
От: David Rowley
Дата:
Сообщение: Re: ExecRTCheckPerms() and many prunable partitions