1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-18 17:42:25 +03:00

Revert "Reformat commit 6b2a1445ec8a631060c4cbff3f172bf31d3379b9"

This reverts commit 6ba56f0805.
We should instead patch up the following paragraph (the one about
pg_relation_size) so that it doesn't have cross-references that
break across lines in PDF output.)
This commit is contained in:
Tom Lane
2014-07-23 14:29:14 -04:00
parent 6ba56f0805
commit f38ad11b2a

View File

@ -13517,15 +13517,11 @@ postgres=# SELECT * FROM pg_xlogfile_name_offset(pg_stop_backup());
</para>
<para>
<function>pg_database_size</function> accepts the OID or name of a database,
and returns the total disk space used therein. To use the function,
<function>pg_database_size</function> and <function>pg_tablespace_size</>
accept the OID or name of a database or tablespace, and return the total
disk space used therein. To use <function>pg_database_size</function>,
you must have <literal>CONNECT</> permission on the specified database
(which is granted by default).
</para>
<para>
<function>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 <function>pg_tablespace_size</>,
you must have <literal>CREATE</> permission on the specified tablespace,
unless it is the default tablespace for the current database.
</para>