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: Generate pg_stat_get_xact*() functions for relations using macro
Date: Mon, 27 Mar 2023 00:57:59 +0000
Message-ID: <E1pgbBP-005YiU-7I@gemulon.postgresql.org> (raw)

Generate pg_stat_get_xact*() functions for relations using macros

This change replaces seven functions definitions by macros.

This is the same idea as 8018ffb or 83a1a1b, taking advantage of the
variable rename done in 8089517 for relation entries.

Author: Bertrand Drouvot
Discussion: https://postgr.es/m/631e3084-c5d9-8463-7540-fcff4674caa5@gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/850f4b4c8cab03a084ccc89245df061639ad1769

Modified Files
--------------
src/backend/utils/adt/pgstatfuncs.c | 126 +++++++++---------------------------
1 file changed, 29 insertions(+), 97 deletions(-)



Message-ID: <E1pgbBP-005YiU-7I@gemulon.postgresql.org>
Permalink:  ../E1pgbBP-005YiU-7I@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1pgbBP-005YiU-7I@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: Generate pg_stat_get_xact*() functions for relations using macro
  In-Reply-To: <E1pgbBP-005YiU-7I@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