From dbe6bd4343d8cdb1b3cf1f66d6f66dd876a6c09d Mon Sep 17 00:00:00 2001 From: Jeff Davis Date: Tue, 22 Oct 2024 12:48:01 -0700 Subject: 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 --- doc/src/sgml/func.sgml | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'doc/src') 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 , relpages integer , reltuples real , relallvisible integer ) - boolean + void Updates relation-level statistics for the given relation to the specified values. The parameters correspond to columns in pg_class. Unspecified - or NULL values leave the setting - unchanged. Returns true if a change was made; - false otherwise. + or NULL values leave the setting unchanged. 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 pg_clear_relation_stats pg_clear_relation_stats ( relation regclass ) - boolean + void Clears table-level statistics for the given relation, as though the - table was newly created. Returns true if a change - was made; false otherwise. + table was newly created. The caller must have the MAINTAIN privilege on -- cgit v1.2.3