diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml index 0afa0ecaeed..8b74d47174a 100644 --- a/doc/src/sgml/func.sgml +++ b/doc/src/sgml/func.sgml @@ -13517,15 +13517,11 @@ postgres=# SELECT * FROM pg_xlogfile_name_offset(pg_stop_backup()); - pg_database_size accepts the OID or name of a database, - and returns the total disk space used therein. To use the function, + pg_database_size and pg_tablespace_size + accept the OID or name of a database or tablespace, and return the total + disk space used therein. To use pg_database_size, you must have CONNECT permission on the specified database - (which is granted by default). - - - - pg_tablespace_size accepts the OID or name of a tablespace, - and returns the total disk space used therein. To use the function, + (which is granted by default). To use pg_tablespace_size, you must have CREATE permission on the specified tablespace, unless it is the default tablespace for the current database.