pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andres Freund <andres@anarazel.de>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: pgstat: normalize function naming.
Date: Thu, 07 Apr 2022 04:37:02 +0000
Message-ID: <E1ncJtG-000gDJ-0p@gemulon.postgresql.org> (raw)

pgstat: normalize function naming.

Most of pgstat uses pgstat_<verb>_<subject>() or just <verb>_<subject>(). But
not all (some introduced fairly recently by me). Rename ones that aren't
intentionally following a different scheme (e.g. AtEOXact_*).

Branch
------
master

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

Modified Files
--------------
src/backend/access/common/relation.c         |  4 +--
src/backend/access/transam/slru.c            |  2 +-
src/backend/postmaster/pgstat.c              |  4 +--
src/backend/utils/activity/pgstat_relation.c | 38 ++++++++++++++--------------
src/backend/utils/activity/pgstat_slru.c     | 24 +++++++++---------
src/backend/utils/activity/pgstat_wal.c      |  4 +--
src/backend/utils/activity/pgstat_xact.c     |  6 ++---
src/backend/utils/adt/pgstatfuncs.c          |  2 +-
src/include/pgstat.h                         | 22 ++++++++--------
src/include/utils/pgstat_internal.h          |  7 +++--
10 files changed, 56 insertions(+), 57 deletions(-)



Message-ID: <E1ncJtG-000gDJ-0p@gemulon.postgresql.org>
Permalink:  ../E1ncJtG-000gDJ-0p@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1ncJtG-000gDJ-0p@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: andres@anarazel.de
  Subject: Re: pgsql: pgstat: normalize function naming.
  In-Reply-To: <E1ncJtG-000gDJ-0p@gemulon.postgresql.org>
  References: <E1ncJtG-000gDJ-0p@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox