On Sun, 28 Jul 2024 at 07:18, Joseph Koshakow <koshy44@gmail.com> wrote:
> Attached is a patch that resolves an overflow in pg_size_pretty() that
> resulted in unexpected behavior when PG_INT64_MIN was passed in as an
> argument.
Could we just fix this more simply by assigning the absolute value of
the signed variable into an unsigned type? It's a bit less code and
gets rid of the explicit test for PG_INT64_MIN.
David