]> granicus.if.org Git - postgresql/commitdiff
Revert "Reformat commit 6b2a1445ec8a631060c4cbff3f172bf31d3379b9"
authorTom Lane <tgl@sss.pgh.pa.us>
Wed, 23 Jul 2014 18:29:14 +0000 (14:29 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 23 Jul 2014 18:29:14 +0000 (14:29 -0400)
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.)

doc/src/sgml/func.sgml

index 0afa0ecaeed04d9495e7d6494802c2d017022d2c..8b74d47174a4a87b23bbb9c4ee427f3b842ae02c 100644 (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>