Move dbsize functions into the backend. New functions:
Bruce Momjian <bruce@momjian.us>
Move dbsize functions into the backend. New functions: pg_tablespace_size pg_database_size pg_relation_size pg_complete_relation_size pg_size_pretty Remove /contrib/dbsize. Dave Page
Files
| Path | Change | +/− |
|---|---|---|
| contrib/dbsize/dbsize.sql.in | deleted | +0 −132 |
| contrib/dbsize/Makefile | deleted | +0 −13 |
| contrib/dbsize/README.dbsize | deleted | +0 −115 |
| contrib/Makefile | modified | +1 −2 |
| doc/src/sgml/diskusage.sgml | modified | +11 −12 |
| doc/src/sgml/func.sgml | modified | +110 −1 |
| src/backend/utils/adt/dbsize.c (from contrib/dbsize/dbsize.c) | renamed | +461 −335 |
| src/backend/utils/adt/Makefile | modified | +2 −2 |
| src/include/catalog/pg_proc.h | modified | +23 −2 |
| src/include/utils/builtins.h | modified | +12 −1 |