mirror of
https://github.com/postgres/postgres.git
synced 2025-06-29 10:41:53 +03:00
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.
This commit is contained in:
@ -453,6 +453,7 @@ extern Datum pg_database_size_name(PG_FUNCTION_ARGS);
|
||||
extern Datum pg_relation_size(PG_FUNCTION_ARGS);
|
||||
extern Datum pg_total_relation_size(PG_FUNCTION_ARGS);
|
||||
extern Datum pg_size_pretty(PG_FUNCTION_ARGS);
|
||||
extern Datum pg_size_pretty_numeric(PG_FUNCTION_ARGS);
|
||||
extern Datum pg_table_size(PG_FUNCTION_ARGS);
|
||||
extern Datum pg_indexes_size(PG_FUNCTION_ARGS);
|
||||
extern Datum pg_relation_filenode(PG_FUNCTION_ARGS);
|
||||
|
Reference in New Issue
Block a user