On Thu, 8 Jul 2021 at 13:31, David Rowley <dgrowle...@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

Attachment: adjust_pg_size_pretty_rounding_for_negative_values.patch
Description: Binary data

Reply via email to