Re: [PATCH] expand the units that pg_size_pretty supports on output - Mailing list pgsql-hackers

From Dean Rasheed
Subject Re: [PATCH] expand the units that pg_size_pretty supports on output
Date
Msg-id CAEZATCWFxMFcFBiAe3zM9z-HxXKDQAtm_Q01nOdbkpZYY+kZbA@mail.gmail.com
Whole thread Raw
In response to Re: [PATCH] expand the units that pg_size_pretty supports on output  (David Rowley <dgrowleyml@gmail.com>)
List pgsql-hackers
On Thu, 8 Jul 2021 at 14:38, David Rowley <dgrowleyml@gmail.com> wrote:
>
> I gave it a bit of exercise by running pgbench and calling this procedure:
>
> It ran 8526956 times, so with the loop that's 8.5 billion random
> numbers. No variations between the two functions.  I got the same
> after removing the 0 - to test positive numbers.

Wow, that's a lot of testing! I just tried a few hand-picked edge cases.

> If you like, I can push this in my morning, or if you'd rather do it
> yourself, please go ahead.

No, I didn't get as much time as I thought I would today, so please go ahead.

Regards,
Dean



pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: "debug_invalidate_system_caches_always" is too long
Next
From: "David G. Johnston"
Date:
Subject: Re: enable_resultcache confusion