pgsql: pgstat: rename pgstat_initstats() to pgstat_relation_init().

From: Andres Freund <andres(at)anarazel(dot)de>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: pgstat: rename pgstat_initstats() to pgstat_relation_init().
Date: 2022-03-21 02:13:19
Message-ID: E1nW7Xq-000eNA-HT@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(at)anarazel(dot)de>
Discussion: https://postgr.es/m/20220303021600.hs34ghqcw6zcokdh@alap3.anarazel.de

Branch
------
master

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

Modified Files
--------------
src/backend/access/common/relation.c | 4 ++--
src/backend/postmaster/pgstat.c | 6 +++---
src/include/pgstat.h | 2 +-
3 files changed, 6 insertions(+), 6 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Magnus Hagander 2022-03-21 10:37:48 Re: pgsql: Allow extensions to add new backup targets.
Previous Message Alvaro Herrera 2022-03-20 21:26:33 Re: pgsql: Enforce foreign key correctly during cross-partition updates