1
1
<!--
2
- $PostgreSQL: pgsql/doc/src/sgml/func.sgml,v 1.285 2005/09/14 21:14:26 neilc Exp $
2
+ $PostgreSQL: pgsql/doc/src/sgml/func.sgml,v 1.286 2005/09/16 05:35:39 neilc Exp $
3
3
PostgreSQL documentation
4
4
-->
5
5
@@ -9368,29 +9368,30 @@ SELECT set_config('log_statement_stats', 'off', false);
9368
9368
<entry>
9369
9369
<literal><function>pg_cancel_backend</function>(<parameter>pid</parameter> <type>int</>)</literal>
9370
9370
</entry>
9371
- <entry><type>int </type></entry>
9371
+ <entry><type>boolean </type></entry>
9372
9372
<entry>Cancel a backend's current query</entry>
9373
9373
</row>
9374
9374
<row>
9375
9375
<entry>
9376
9376
<literal><function>pg_reload_conf</function>()</literal>
9377
9377
</entry>
9378
- <entry><type>int </type></entry>
9378
+ <entry><type>boolean </type></entry>
9379
9379
<entry>Cause server processes to reload their configuration files</entry>
9380
9380
</row>
9381
9381
<row>
9382
9382
<entry>
9383
9383
<literal><function>pg_rotate_logfile</function>()</literal>
9384
9384
</entry>
9385
- <entry><type>int </type></entry>
9385
+ <entry><type>boolean </type></entry>
9386
9386
<entry>Rotate server's logfile</entry>
9387
9387
</row>
9388
9388
</tbody>
9389
9389
</tgroup>
9390
9390
</table>
9391
9391
9392
9392
<para>
9393
- Each of these functions returns 1 if successful, 0 if not successful.
9393
+ Each of these functions returns <literal>true</literal> if
9394
+ successful and <literal>false</literal> otherwise.
9394
9395
</para>
9395
9396
9396
9397
<para>
@@ -9502,7 +9503,7 @@ SELECT set_config('log_statement_stats', 'off', false);
9502
9503
<primary>pg_relation_size</primary>
9503
9504
</indexterm>
9504
9505
<indexterm zone="functions-admin">
9505
- <primary>pg_complete_relation_size </primary>
9506
+ <primary>pg_total_relation_size </primary>
9506
9507
</indexterm>
9507
9508
<indexterm zone="functions-admin">
9508
9509
<primary>pg_size_pretty</primary>
@@ -9527,28 +9528,28 @@ SELECT set_config('log_statement_stats', 'off', false);
9527
9528
<literal><function>pg_tablespace_size</function>(<type>oid</type>)</literal>
9528
9529
</entry>
9529
9530
<entry><type>bigint</type></entry>
9530
- <entry>Total disk space used by the tablespace with the specified OID</entry>
9531
+ <entry>Disk space used by the tablespace with the specified OID</entry>
9531
9532
</row>
9532
9533
<row>
9533
9534
<entry>
9534
9535
<literal><function>pg_tablespace_size</function>(<type>name</type>)</literal>
9535
9536
</entry>
9536
9537
<entry><type>bigint</type></entry>
9537
- <entry>Total disk space used by the tablespace with the specified name</entry>
9538
+ <entry>Disk space used by the tablespace with the specified name</entry>
9538
9539
</row>
9539
9540
<row>
9540
9541
<entry>
9541
9542
<literal><function>pg_database_size</function>(<type>oid</type>)</literal>
9542
9543
</entry>
9543
9544
<entry><type>bigint</type></entry>
9544
- <entry>Total disk space used by the database with the specified OID</entry>
9545
+ <entry>Disk space used by the database with the specified OID</entry>
9545
9546
</row>
9546
9547
<row>
9547
9548
<entry>
9548
9549
<literal><function>pg_database_size</function>(<type>name</type>)</literal>
9549
9550
</entry>
9550
9551
<entry><type>bigint</type></entry>
9551
- <entry>Total disk space used by the database with the specified name</entry>
9552
+ <entry>Disk space used by the database with the specified name</entry>
9552
9553
</row>
9553
9554
<row>
9554
9555
<entry>
@@ -9562,25 +9563,31 @@ SELECT set_config('log_statement_stats', 'off', false);
9562
9563
<literal><function>pg_relation_size</function>(<type>text</type>)</literal>
9563
9564
</entry>
9564
9565
<entry><type>bigint</type></entry>
9565
- <entry>Disk space used by the table or index with the specified name.
9566
- The name may be qualified with a schema name</entry>
9566
+ <entry>
9567
+ Disk space used by the table or index with the specified name.
9568
+ The table name may be qualified with a schema name
9569
+ </entry>
9567
9570
</row>
9568
9571
<row>
9569
9572
<entry>
9570
- <literal><function>pg_complete_relation_size </function>(<type>oid</type>)</literal>
9573
+ <literal><function>pg_total_relation_size </function>(<type>oid</type>)</literal>
9571
9574
</entry>
9572
9575
<entry><type>bigint</type></entry>
9573
- <entry>Total disk space used by the table with the specified OID,
9574
- including indexes and toasted data</entry>
9576
+ <entry>
9577
+ Total disk space used by the table with the specified OID,
9578
+ including indexes and toasted data
9579
+ </entry>
9575
9580
</row>
9576
9581
<row>
9577
9582
<entry>
9578
- <literal><function>pg_complete_relation_size </function>(<type>text</type>)</literal>
9583
+ <literal><function>pg_total_relation_size </function>(<type>text</type>)</literal>
9579
9584
</entry>
9580
9585
<entry><type>bigint</type></entry>
9581
- <entry>Total disk space used by the table with the specified name,
9582
- including indexes and toasted data.
9583
- The table name may be qualified with a schema name</entry>
9586
+ <entry>
9587
+ Total disk space used by the table with the specified name,
9588
+ including indexes and toasted data. The table name may be
9589
+ qualified with a schema name
9590
+ </entry>
9584
9591
</row>
9585
9592
<row>
9586
9593
<entry>
@@ -9610,9 +9617,9 @@ SELECT set_config('log_statement_stats', 'off', false);
9610
9617
</para>
9611
9618
9612
9619
<para>
9613
- <function>pg_complete_relation_size </> accepts the OID or name of a table
9614
- or toast table, and returns the size in bytes of the data and all
9615
- associated indexes and toast tables.
9620
+ <function>pg_total_relation_size </> accepts the OID or name of a
9621
+ table or toast table, and returns the size in bytes of the data
9622
+ and all associated indexes and toast tables.
9616
9623
</para>
9617
9624
9618
9625
<para>
@@ -9669,7 +9676,7 @@ SELECT set_config('log_statement_stats', 'off', false);
9669
9676
<primary>pg_ls_dir</primary>
9670
9677
</indexterm>
9671
9678
<para>
9672
- <function>pg_ls_dir() </> returns all the names in the specified
9679
+ <function>pg_ls_dir</> returns all the names in the specified
9673
9680
directory, except the special entries <quote><literal>.</></> and
9674
9681
<quote><literal>..</></>.
9675
9682
</para>
@@ -9678,7 +9685,7 @@ SELECT set_config('log_statement_stats', 'off', false);
9678
9685
<primary>pg_read_file</primary>
9679
9686
</indexterm>
9680
9687
<para>
9681
- <function>pg_read_file() </> returns part of a text file, starting
9688
+ <function>pg_read_file</> returns part of a text file, starting
9682
9689
at the given <parameter>offset</>, returning at most <parameter>length</>
9683
9690
bytes (less if the end of file is reached first). If <parameter>offset</>
9684
9691
is negative, it is relative to the end of the file.
@@ -9688,7 +9695,7 @@ SELECT set_config('log_statement_stats', 'off', false);
9688
9695
<primary>pg_stat_file</primary>
9689
9696
</indexterm>
9690
9697
<para>
9691
- <function>pg_stat_file() </> returns a record containing the file
9698
+ <function>pg_stat_file</> returns a record containing the file
9692
9699
size, last accessed timestamp, last modified timestamp,
9693
9700
last file status change timestamp (Unix platforms only),
9694
9701
file creation timestamp (Win32 only), and a boolean indicating
0 commit comments