From: Tom Lane Date: Wed, 23 Jul 2014 18:29:14 +0000 (-0400) Subject: Revert "Reformat commit 6b2a1445ec8a631060c4cbff3f172bf31d3379b9" X-Git-Tag: REL9_0_19~107 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f38ad11b2a53c00d2cfa16ee41a81545d6c1759f;p=postgresql Revert "Reformat commit 6b2a1445ec8a631060c4cbff3f172bf31d3379b9" This reverts commit 6ba56f0805b549b001e3149d6a7fba04e970d2dc. 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.) --- diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml index 0afa0ecaee..8b74d47174 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.