diff --git a/doc/src/sgml/func/func-admin.sgml b/doc/src/sgml/func/func-admin.sgml index 54eeb42e5bc..408bf0214da 100644 --- a/doc/src/sgml/func/func-admin.sgml +++ b/doc/src/sgml/func/func-admin.sgml @@ -1536,7 +1536,9 @@ postgres=# SELECT '0/0'::pg_lsn + pd.segment_number * ps.setting::int + :offset or understanding of usage results. bigint results are measured in bytes. If an OID that does not represent an existing object is passed to one of these - functions, NULL is returned. + functions, NULL is returned, except for + pg_database_size and + pg_tablespace_size, which raise an error. @@ -1618,7 +1620,8 @@ postgres=# SELECT '0/0'::pg_lsn + pd.segment_number * ps.setting::int + :offset name or OID. To use this function, you must have CONNECT privilege on the specified database (which is granted by default) or have privileges of - the pg_read_all_stats role. + the pg_read_all_stats role. Throws an error if the + database does not exist. @@ -1751,7 +1754,8 @@ postgres=# SELECT '0/0'::pg_lsn + pd.segment_number * ps.setting::int + :offset specified name or OID. To use this function, you must have CREATE privilege on the specified tablespace or have privileges of the pg_read_all_stats role, - unless it is the default tablespace for the current database. + unless it is the default tablespace for the current database. Throws + an error if the tablespace does not exist.