Rename pg_complete_relation_size() to pg_total_relation_size(), for the
Neil Conway <neilc@samurai.com>
Rename pg_complete_relation_size() to pg_total_relation_size(), for the sake of brevity and clarity. Make pg_reload_conf(), pg_rotate_logfile(), and pg_cancel_backend() return a boolean rather than an integer to indicate success or failure. Along the way, make some minor cleanups to dbsize.c -- in particular, use elog() rather than ereport() for "shouldn't happen" error conditions, and remove some of the more flagrant violations of the Postgres indentation conventions. Catalog version bumped.
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/func.sgml | modified | +32 −25 |
| doc/src/sgml/release.sgml | modified | +9 −3 |
| src/backend/utils/adt/dbsize.c | modified | +28 −30 |
| src/backend/utils/adt/misc.c | modified | +10 −16 |
| src/include/catalog/catversion.h | modified | +2 −2 |
| src/include/catalog/pg_proc.h | modified | +6 −6 |
| src/include/utils/builtins.h | modified | +3 −3 |