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.
Showing
- doc/src/sgml/func.sgml 14 additions, 1 deletiondoc/src/sgml/func.sgml
- src/backend/utils/adt/dbsize.c 132 additions, 0 deletionssrc/backend/utils/adt/dbsize.c
- src/include/catalog/catversion.h 1 addition, 1 deletionsrc/include/catalog/catversion.h
- src/include/catalog/pg_proc.h 2 additions, 0 deletionssrc/include/catalog/pg_proc.h
- src/include/utils/builtins.h 1 addition, 0 deletionssrc/include/utils/builtins.h
Loading
Please register or sign in to comment