pg_size_pretty(numeric)
authorRobert Haas <rhaas@postgresql.org>
Sat, 14 Apr 2012 12:04:11 +0000 (08:04 -0400)
committerRobert Haas <rhaas@postgresql.org>
Sat, 14 Apr 2012 12:07:25 +0000 (08:07 -0400)
commit4a2d7ad76f5f275ef2d6a57e1a61d5bf756349e8
tree95875b3c3bf1facfce84e317a863ce8aaf57da81
parentd4db16d303b24ba5c9a6ddf8c2d70f6fd2da36d7
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.
doc/src/sgml/func.sgml
src/backend/utils/adt/dbsize.c
src/include/catalog/catversion.h
src/include/catalog/pg_proc.h
src/include/utils/builtins.h