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 CAApHDvp4KLg7xmg_nXLD6EPkOFrGNQDGfLQQBFVUBveSQXENyA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [PATCH] expand the units that pg_size_pretty supports on output  (David Rowley <dgrowleyml@gmail.com>)
Ответы Re: [PATCH] expand the units that pg_size_pretty supports on output
Список pgsql-hackers
On Thu, 8 Jul 2021 at 13:31, David Rowley <dgrowleyml@gmail.com> wrote:
> It feels like if we're going to fix this negative rounding thing then
> we should maybe do it and backpatch a fix then rebase this work on top
> of that.

Here's a patch which I believe makes pg_size_pretty() and
pg_size_pretty_numeric() match in regards to negative values.

Maybe this plus your regression test would be ok to back-patch?

David

Вложения

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

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: bugfix: when the blocksize is 32k, the function page_header of pageinspect returns negative numbers.
Следующее
От: Tatsuro Yamada
Дата:
Сообщение: Re: list of extended statistics on psql (\dX)