pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Paquier <michael@paquier.xyz>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Remove PgStat_BackendFunctionEntry
Date: Thu, 16 Mar 2023 05:23:19 +0000
Message-ID: <E1pcg59-003lyx-Fs@gemulon.postgresql.org> (raw)

Remove PgStat_BackendFunctionEntry

This structure included only PgStat_FunctionCounts, and removing it
facilitates some upcoming refactoring for pgstatfuncs.c to use more
macros rather that mostly-duplicated functions.

Author: Bertrand Drouvot
Reviewed-by: Nathan Bossart
Discussion: https://postgr.es/m/11d531fe-52fc-c6ea-7e8e-62f1b6ec626e@gmail.com

Branch
------
master

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

Modified Files
--------------
src/backend/utils/activity/pgstat.c          |  2 +-
src/backend/utils/activity/pgstat_function.c | 20 ++++++++++----------
src/backend/utils/adt/pgstatfuncs.c          | 12 ++++++------
src/include/pgstat.h                         | 11 +----------
src/tools/pgindent/typedefs.list             |  1 -
5 files changed, 18 insertions(+), 28 deletions(-)



Message-ID: <E1pcg59-003lyx-Fs@gemulon.postgresql.org>
Permalink:  ../E1pcg59-003lyx-Fs@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1pcg59-003lyx-Fs@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 using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: michael@paquier.xyz, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Remove PgStat_BackendFunctionEntry
  In-Reply-To: <E1pcg59-003lyx-Fs@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