diff options
author | Jeff Davis | 2024-10-22 19:48:01 +0000 |
---|---|---|
committer | Jeff Davis | 2024-10-22 19:48:01 +0000 |
commit | dbe6bd4343d8cdb1b3cf1f66d6f66dd876a6c09d (patch) | |
tree | 7dc79dd167e54cb70784364b6d226a06e2159085 /doc/src | |
parent | 774171c4f640853b1cf8747a4762631d2f5d25be (diff) |
Change pg_*_relation_stats() functions to return type to void.
These functions will either raise an ERROR or run to normal
completion, so no return value is necessary.
Bump catalog version.
Author: Corey Huinker
Discussion: https://postgr.es/m/CADkLM=cBF8rnphuTyHFi3KYzB9ByDgx57HwK9Rz2yp7S+Om87w@mail.gmail.com
Diffstat (limited to 'doc/src')
-rw-r--r-- | doc/src/sgml/func.sgml | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml index ad663c94d77..14dd035134a 100644 --- a/doc/src/sgml/func.sgml +++ b/doc/src/sgml/func.sgml @@ -30174,15 +30174,13 @@ DETAIL: Make sure pg_wal_replay_wait() isn't called within a transaction with a <optional>, <parameter>relpages</parameter> <type>integer</type></optional> <optional>, <parameter>reltuples</parameter> <type>real</type></optional> <optional>, <parameter>relallvisible</parameter> <type>integer</type></optional> ) - <returnvalue>boolean</returnvalue> + <returnvalue>void</returnvalue> </para> <para> Updates relation-level statistics for the given relation to the specified values. The parameters correspond to columns in <link linkend="catalog-pg-class"><structname>pg_class</structname></link>. Unspecified - or <literal>NULL</literal> values leave the setting - unchanged. Returns <literal>true</literal> if a change was made; - <literal>false</literal> otherwise. + or <literal>NULL</literal> values leave the setting unchanged. </para> <para> Ordinarily, these statistics are collected automatically or updated @@ -30212,12 +30210,11 @@ DETAIL: Make sure pg_wal_replay_wait() isn't called within a transaction with a <primary>pg_clear_relation_stats</primary> </indexterm> <function>pg_clear_relation_stats</function> ( <parameter>relation</parameter> <type>regclass</type> ) - <returnvalue>boolean</returnvalue> + <returnvalue>void</returnvalue> </para> <para> Clears table-level statistics for the given relation, as though the - table was newly created. Returns <literal>true</literal> if a change - was made; <literal>false</literal> otherwise. + table was newly created. </para> <para> The caller must have the <literal>MAINTAIN</literal> privilege on |