diff options
| author | Andres Freund | 2022-03-21 02:12:09 +0000 |
|---|---|---|
| committer | Andres Freund | 2022-03-21 02:12:09 +0000 |
| commit | bff258a2732e3f8cf94010345c4ad37f8f9b5899 (patch) | |
| tree | 3f9f80562a67294881ddf63e2acd12b1bd476241 /src/include | |
| parent | 8363102009d8ee64255ad4948183f9d159eb8f4b (diff) | |
pgstat: rename pgstat_initstats() to pgstat_relation_init().
The old name was overly generic. An upcoming commit moves relation stats
handling into its own file, making pgstat_initstats() look even more out of
place.
Author: Andres Freund <andres@anarazel.de>
Discussion: https://postgr.es/m/20220303021600.hs34ghqcw6zcokdh@alap3.anarazel.de
Diffstat (limited to 'src/include')
| -rw-r--r-- | src/include/pgstat.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/pgstat.h b/src/include/pgstat.h index 3499c86dbfe..cfb00ba65a5 100644 --- a/src/include/pgstat.h +++ b/src/include/pgstat.h @@ -1102,7 +1102,7 @@ extern void pgstat_initialize(void); extern PgStat_TableStatus *find_tabstat_entry(Oid rel_id); extern PgStat_BackendFunctionEntry *find_funcstat_entry(Oid func_id); -extern void pgstat_initstats(Relation rel); +extern void pgstat_relation_init(Relation rel); #define pgstat_relation_should_count(rel) \ (likely((rel)->pgstat_info != NULL)) |
