postgres.git / summary / log / commit / refs
commit f38ad11b2a53c00d2cfa16ee41a81545d6c1759f
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: Wed Jul 23 18:29:14 2014 +0000
First released in: 9.0.19
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.)
doc/src/sgml/func.sgml | 12 ++++--------
1 file changed, 4 insertions(+), 8 deletions(-)
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());
</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>
[parent: 6ba56f0805b5]