diff options
| author | Jeff Davis <jdavis@postgresql.org> | 2024-10-22 12:48:01 -0700 |
|---|---|---|
| committer | Jeff Davis <jdavis@postgresql.org> | 2024-10-22 12:48:01 -0700 |
| commit | dbe6bd4343d8cdb1b3cf1f66d6f66dd876a6c09d (patch) | |
| tree | 7dc79dd167e54cb70784364b6d226a06e2159085 /src/backend/catalog/system_functions.sql | |
| 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 'src/backend/catalog/system_functions.sql')
| -rw-r--r-- | src/backend/catalog/system_functions.sql | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/catalog/system_functions.sql b/src/backend/catalog/system_functions.sql index 92b6aefe7aa..b7e2906f116 100644 --- a/src/backend/catalog/system_functions.sql +++ b/src/backend/catalog/system_functions.sql @@ -644,7 +644,7 @@ CREATE OR REPLACE FUNCTION relpages integer DEFAULT NULL, reltuples real DEFAULT NULL, relallvisible integer DEFAULT NULL) -RETURNS bool +RETURNS void LANGUAGE INTERNAL CALLED ON NULL INPUT VOLATILE AS 'pg_set_relation_stats'; |
