pg_size_pretty(numeric)
Robert Haas <rhaas@postgresql.org>
pg_size_pretty(numeric) The output of the new pg_xlog_location_diff function is of type numeric, since it could theoretically overflow an int8 due to signedness; this provides a convenient way to format such values. Fujii Masao, with some beautification by me.
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/func.sgml | modified | +14 −1 |
| src/backend/utils/adt/dbsize.c | modified | +132 −0 |
| src/include/catalog/catversion.h | modified | +1 −1 |
| src/include/catalog/pg_proc.h | modified | +2 −0 |
| src/include/utils/builtins.h | modified | +1 −0 |