pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Amit Kapila <akapila@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Revert "Track statistics for spilling of changes from ReorderBuf
Date: Mon, 13 Jul 2020 03:32:08 +0000
Message-ID: <E1jupCK-0002ot-3z@gemulon.postgresql.org> (raw)

Revert "Track statistics for spilling of changes from ReorderBuffer".

The stats with this commit was available only for WALSenders, however,
users might want to see for backends doing logical decoding via SQL API.
Then, users might want to reset and access these stats across server
restart which was not possible with the current patch.

List of commits reverted:

caa3c4242c   Don't call elog() while holding spinlock.
e641b2a995   Doc: Update the documentation for spilled transaction
statistics.
5883f5fe27   Fix unportable printf format introduced in commit 9290ad198.
9290ad198b   Track statistics for spilling of changes from ReorderBuffer.

Additionaly, remove the release notes entry for this feature.

Backpatch-through: 13, where it was introduced
Discussion: https://postgr.es/m/CA+fd4k5_pPAYRTDrO2PbtTOe0eHQpBvuqmCr8ic39uTNmR49Eg@mail.gmail.com

Branch
------
REL_13_STABLE

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

Modified Files
--------------
doc/src/sgml/monitoring.sgml                    | 38 ----------------------
doc/src/sgml/release-13.sgml                    | 14 --------
src/backend/catalog/system_views.sql            |  5 +--
src/backend/replication/logical/reorderbuffer.c | 12 -------
src/backend/replication/walsender.c             | 43 ++-----------------------
src/include/catalog/catversion.h                |  2 +-
src/include/catalog/pg_proc.dat                 |  6 ++--
src/include/replication/reorderbuffer.h         | 11 -------
src/include/replication/walsender_private.h     |  5 ---
src/test/regress/expected/rules.out             |  7 ++--
10 files changed, 9 insertions(+), 134 deletions(-)



view thread (2+ messages)  latest in thread

Message-ID: <E1jupCK-0002ot-3z@gemulon.postgresql.org>
Permalink:  ../E1jupCK-0002ot-3z@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1jupCK-0002ot-3z@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: akapila@postgresql.org
  Subject: Re: pgsql: Revert "Track statistics for spilling of changes from ReorderBuf
  In-Reply-To: <E1jupCK-0002ot-3z@gemulon.postgresql.org>
  References: <E1jupCK-0002ot-3z@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