pgsql: Change the attribute name in pg_stat_replication_slots view. - Mailing list pgsql-committers

From Amit Kapila
Subject pgsql: Change the attribute name in pg_stat_replication_slots view.
Date
Msg-id E1kUjgm-0006ZA-4E@gemulon.postgresql.org
Whole thread Raw
Responses Re: pgsql: Change the attribute name in pg_stat_replication_slots view.  (Andres Freund <andres@anarazel.de>)
List pgsql-committers
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(-)


pgsql-committers by date:

Previous
From: Amit Kapila
Date:
Subject: pgsql: Fix typo in commit 99ae342fc4.
Next
From: Amit Kapila
Date:
Subject: Re: pgsql: Change the docs for PARALLEL option of Vacuum.