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

From David Christensen
Subject [PATCH] expand the units that pg_size_pretty supports on output
Date
Msg-id CAOxo6XKmHc_WZip-x5QwaOqFEiCq_SVD0B7sbTZQk+qqcn2qaw@mail.gmail.com
Whole thread Raw
Responses Re: [PATCH] expand the units that pg_size_pretty supports on output  (Michael Paquier <michael@paquier.xyz>)
Re: [PATCH] expand the units that pg_size_pretty supports on output  (David Christensen <david.christensen@crunchydata.com>)
List pgsql-hackers
Hi folks,

Enclosed is a patch that expands the unit output for pg_size_pretty(numeric) going up to Yottabytes; I reworked the existing numeric output code to account for the larger number of units we're using rather than just adding nesting levels.

There are also a few other places that could benefit from expanded units, but this is a standalone starting point.

Best,

David
Attachment

pgsql-hackers by date:

Previous
From: James Coleman
Date:
Subject: Possible typo/unclear comment in joinpath.c
Next
From: Honza Horak
Date:
Subject: Options given both on cmd-line and in the config with different values