pgsql: Change pg_*_relation_stats() functions to return type to void.

From: Jeff Davis <jdavis(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Change pg_*_relation_stats() functions to return type to void.
Date: 2024-10-22 19:48:13
Message-ID: E1t3KrV-001wus-Nk@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/dbe6bd4343d8cdb1b3cf1f66d6f66dd876a6c09d

Modified Files
--------------
doc/src/sgml/func.sgml | 11 ++++-------
src/backend/catalog/system_functions.sql | 2 +-
src/backend/statistics/relation_stats.c | 6 ++++--
src/include/catalog/catversion.h | 2 +-
src/include/catalog/pg_proc.dat | 4 ++--
src/test/regress/expected/stats_import.out | 16 ++++++++--------
6 files changed, 20 insertions(+), 21 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Alexander Korotkov 2024-10-22 20:12:27 Re: pgsql: Implement pg_wal_replay_wait() stored procedure
Previous Message Tom Lane 2024-10-22 15:36:31 pgsql: Improve reporting of errors in extension script files.