pg.ddx.io pgsql-committers@postgresql.org mailing list archive
help / color / mirror / Atom feedpgsql: Change the attribute name in pg_stat_replication_slots view.
3+ messages / 2 participants
[nested] [flat]
* pgsql: Change the attribute name in pg_stat_replication_slots view.
@ 2020-10-20 04:56 Amit Kapila <akapila@postgresql.org>
0 siblings, 1 reply; 3+ messages in thread
From: Amit Kapila @ 2020-10-20 04:56 UTC (permalink / raw)
To: pgsql-committers@lists.postgresql.org
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(-)
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: pgsql: Change the attribute name in pg_stat_replication_slots view.
@ 2020-12-07 18:49 Andres Freund <andres@anarazel.de>
parent: Amit Kapila <akapila@postgresql.org>
0 siblings, 1 reply; 3+ messages in thread
From: Andres Freund @ 2020-12-07 18:49 UTC (permalink / raw)
To: Amit Kapila <akapila@postgresql.org>; +Cc: pgsql-committers@lists.postgresql.org
Hi,
On 2020-10-20 04:56:00 +0000, Amit Kapila wrote:
> 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.
This is missing a catversion bump...
Greetings,
Andres Freund
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: pgsql: Change the attribute name in pg_stat_replication_slots view.
@ 2020-12-07 18:54 Andres Freund <andres@anarazel.de>
parent: Andres Freund <andres@anarazel.de>
0 siblings, 0 replies; 3+ messages in thread
From: Andres Freund @ 2020-12-07 18:54 UTC (permalink / raw)
To: Amit Kapila <akapila@postgresql.org>; +Cc: pgsql-committers@lists.postgresql.org
Hi,
On 2020-12-07 10:49:11 -0800, Andres Freund wrote:
> On 2020-10-20 04:56:00 +0000, Amit Kapila wrote:
> > 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.
>
> This is missing a catversion bump...
Err, sorry, this is the wrong thread. Was trying to respond to:
commit 01469241b2ff6f17fc0b3f20f01559145ffab29e
Author: Fujii Masao <fujii@postgresql.org>
Date: 2020-12-02 13:00:15 +0900
Track total number of WAL records, FPIs and bytes generated in the cluster.
Not sure what happened.
Greetings,
Andres Freund
^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2020-12-07 18:54 UTC | newest]
Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2020-10-20 04:56 pgsql: Change the attribute name in pg_stat_replication_slots view. Amit Kapila <akapila@postgresql.org>
2020-12-07 18:49 ` Andres Freund <andres@anarazel.de>
2020-12-07 18:54 ` Andres Freund <andres@anarazel.de>
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