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: Change the attribute name in pg_stat_replication_slots view.
Date: Tue, 20 Oct 2020 04:56:00 +0000
Message-ID: <E1kUjgm-0006ZA-4E@gemulon.postgresql.org> (raw)

Change the attribute name in pg_stat_replication_slots view.

Change the attribute 'name' to 'slot_name' in pg_stat_replication_slots
view to make it clear and that way we will be consistent with the other
places like pg_stat_wal_receiver view where we display the same attribute.

In the passing, fix the typo in one of the macros in the related code.

Bump the catversion as we have modified the name in the catalog as well.

Reported-by: Noriyoshi Shinoda
Author: Noriyoshi Shinoda
Reviewed-by: Sawada  Masahiko and Amit Kapila
Discussion: https://postgr.es/m/CA+fd4k5_pPAYRTDrO2PbtTOe0eHQpBvuqmCr8ic39uTNmR49Eg@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/03d51b776d88badbeb4452c1ab452feb78dce36a

Modified Files
--------------
contrib/test_decoding/expected/stats.out | 14 +++++++-------
contrib/test_decoding/sql/stats.sql      |  8 ++++----
doc/src/sgml/monitoring.sgml             |  2 +-
src/backend/catalog/system_views.sql     |  2 +-
src/backend/utils/adt/pgstatfuncs.c      |  6 +++---
src/include/catalog/catversion.h         |  2 +-
src/include/catalog/pg_proc.dat          |  2 +-
src/test/regress/expected/rules.out      |  4 ++--
8 files changed, 20 insertions(+), 20 deletions(-)



view thread (3+ messages)  latest in thread

Message-ID: <E1kUjgm-0006ZA-4E@gemulon.postgresql.org>
Permalink:  ../E1kUjgm-0006ZA-4E@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1kUjgm-0006ZA-4E@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: Change the attribute name in pg_stat_replication_slots view.
  In-Reply-To: <E1kUjgm-0006ZA-4E@gemulon.postgresql.org>
  References: <E1kUjgm-0006ZA-4E@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