pgsql: Change pg_*_relation_stats() functions to return type to void.
pgsql: Change pg_*_relation_stats() functions to return type to void.
От:
Jeff Davis <jdavis@postgresql.org>
Дата:
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(-)