Teach pg_size_pretty and pg_size_bytes about higher-order units

Edit
ID 3077
Title Teach pg_size_pretty and pg_size_bytes about higher-order units
Topic Miscellaneous
Created 2021-04-15 14:29:22
Last modified 2023-03-06 15:42:19 (1 year, 8 months ago)
Latest email 2021-07-09 07:15:08 (3 years, 4 months ago)
Status
2021-07: Committed
Target version
Authors David Christensen (davidchristensen)
Reviewers Dean Rasheed (deanr)Become reviewer
Committer David Rowley (davidrowley)
Links CFbot results (CirrusCI) CFbot GitHub Git
Checkout latest CFbot patchset Go to your local checkout of the PostgreSQL repository and run:
git remote add commitfest https://github.com/postgresql-cfbot/postgresql.git
git fetch commitfest cf/3077
git checkout commitfest/cf/3077
Emails
[PATCH] expand the units that pg_size_pretty supports on output
First at 2021-04-14 16:13:47 by David Christensen <david.christensen at crunchydata.com>
Latest at 2021-07-09 07:15:08 by David Rowley <dgrowleyml at gmail.com>
Latest attachment (adjust_pg_size_pretty_rounding_for_negative_values-v2.patch) at 2021-07-08 08:23:03 from Dean Rasheed <dean.a.rasheed at gmail.com>
    Attachment (adjust_pg_size_pretty_rounding_for_negative_values-v2.patch) at 2021-07-08 08:23:03 from Dean Rasheed <dean.a.rasheed at gmail.com> (Patch: Yes)
    Attachment (adjust_pg_size_pretty_rounding_for_negative_values.patch) at 2021-07-08 04:29:58 from David Rowley <dgrowleyml at gmail.com> (Patch: Yes)
    Attachment (pg_size_bytes-numeric.patch) at 2021-07-07 17:44:55 from David Christensen <david.christensen at crunchydata.com> (Patch: Yes)
    Attachment (v2-0001-Use-lookup-table-for-units-in-pg_size_pretty-and-.patch) at 2021-07-07 02:47:22 from David Rowley <dgrowleyml at gmail.com> (Patch: Yes)
    Attachment (half_rounded.c) at 2021-07-06 12:14:47 from David Rowley <dgrowleyml at gmail.com> (Patch: No)
    Attachment (v1-0001-Use-lookup-table-for-units-in-pg_size_pretty-and-.patch) at 2021-07-06 09:20:10 from David Rowley <dgrowleyml at gmail.com> (Patch: Yes)
    Attachment (tidy_up_pg_size_pretty_functions.patch) at 2021-07-05 08:00:39 from David Rowley <dgrowleyml at gmail.com> (Patch: Yes)
    Attachment (0001-Refactor-pg_size_pretty-and-pg_size_bytes-to-allow-f.patch) at 2021-06-29 17:11:12 from David Christensen <david.christensen at crunchydata.com> (Patch: Yes)
    Attachment (0002-Expand-the-supported-units-in-pg_size_bytes-to-cover.patch) at 2021-06-03 19:17:53 from David Christensen <david.christensen at crunchydata.com> (Patch: Yes)
    Attachment (0001-Expand-the-supported-units-in-pg_size_bytes-to-cover.patch) at 2021-04-28 15:44:11 from David Christensen <david.christensen at crunchydata.com> (Patch: Yes)
    Attachment (0001-Expand-the-units-that-pg_size_pretty-numeric-knows-a.patch) at 2021-04-14 16:13:47 from David Christensen <david.christensen at crunchydata.com> (Patch: Yes)
History
When Who What
2023-03-06 15:42:19 Stephen Frost (sfrost) Changed authors to David Christensen (davidchristensen)
2021-07-09 07:15:48 David Rowley (davidrowley) Closed in commitfest 2021-07 with status: Committed
2021-07-09 07:15:33 David Rowley (davidrowley) Added davidrowley as committer
2021-07-08 07:27:03 Dean Rasheed (deanr) Added deanr as reviewer
2021-06-03 20:01:07 David Christensen (dwc-pgguru) Deleted annotation "Revision 2" from CAOxo6XKZw0JvmQCvkjPfkRkEBcODMYdDmkhBRfeyvGu-K1poXA@mail.gmail.com
2021-06-03 19:29:58 David Christensen (dwc-pgguru) Added annotation "Revision 2" to CAOxo6XKZw0JvmQCvkjPfkRkEBcODMYdDmkhBRfeyvGu-K1poXA@mail.gmail.com
2021-06-03 19:18:55 David Christensen (dwc-pgguru) New status: Needs review
2021-05-30 12:38:36 Asif Rehman (asifrana) Posted review with messageid <162237831692.1147.3200470226725425722.pgcf@coridan.postgresql.org>
2021-05-30 12:38:36 Asif Rehman (asifrana) New status: Waiting on Author
2021-04-28 15:58:28 David Christensen (dwc-pgguru) Changed name to Teach pg_size_pretty and pg_size_bytes about higher-order units
2021-04-15 14:30:28 David Christensen (dwc-pgguru) Changed authors to David Christensen (dwc-pgguru)
2021-04-15 14:30:28 David Christensen (dwc-pgguru) Changed gitlink to https://github.com/pgguru/postgres/tree/pg_size_pretty-unit-expansion
2021-04-15 14:29:22 David Christensen (dwc-pgguru) Attached mail thread CAOxo6XKmHc_WZip-x5QwaOqFEiCq_SVD0B7sbTZQk+qqcn2qaw@mail.gmail.com
2021-04-15 14:29:22 David Christensen (dwc-pgguru) Created patch record
Edit