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: move transactional code into pgstat_xact.c.
Date: Wed, 06 Apr 2022 20:25:30 +0000
Message-ID: <E1ncCDZ-000d2p-ID@gemulon.postgresql.org> (raw)

pgstat: move transactional code into pgstat_xact.c.

The transactional integration code is largely independent from the rest of
pgstat.c. Subsequent commits will add more related code.

Author: Andres Freund <andres@anarazel.de>
Reviewed-By: Thomas Munro <thomas.munro@gmail.com>
Discussion: https://postgr.es/m/20220404041516.cctrvpadhuriawlq@alap3.anarazel.de

Branch
------
master

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

Modified Files
--------------
src/backend/postmaster/pgstat.c          | 184 +++++--------------------------
src/backend/utils/activity/Makefile      |   3 +-
src/backend/utils/activity/pgstat_xact.c | 139 +++++++++++++++++++++++
src/include/pgstat.h                     |  18 +--
src/include/utils/pgstat_internal.h      |   8 +-
5 files changed, 189 insertions(+), 163 deletions(-)



Message-ID: <E1ncCDZ-000d2p-ID@gemulon.postgresql.org>
Permalink:  ../E1ncCDZ-000d2p-ID@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1ncCDZ-000d2p-ID@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: move transactional code into pgstat_xact.c.
  In-Reply-To: <E1ncCDZ-000d2p-ID@gemulon.postgresql.org>
  References: <E1ncCDZ-000d2p-ID@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