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: Rename two columns in pg_stat_subscription_stats.
Date: Tue, 18 Nov 2025 04:16:02 +0000
Message-ID: <E1vLD8L-0005md-3C@gemulon.postgresql.org> (raw)

Rename two columns in pg_stat_subscription_stats.

This patch renames the sync_error_count column to sync_table_error_count
in the pg_stat_subscription_stats view. The new name makes the purpose
explicit now that a separate column exists to track sequence
synchronization errors.

Additionally, the column seq_sync_error_count is renamed to
sync_seq_error_count to maintain a consistent naming pattern, making it
easier for users to group, and query synchronization related counters.

Author: Vignesh C <vignesh21@gmail.com>
Reviewed-by: Peter Smith <smithpb2250@gmail.com>
Reviewed-by: Chao Li <li.evan.chao@gmail.com>
Discussion: https://postgr.es/m/CALDaNm3WwJmz=-4ybTkhniB-Nf3qmFG9Zx1uKjyLLoPF5NYYXA@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/3edaf29fa5e0d4fd6419c7eb73fd6df5b0406789

Modified Files
--------------
doc/src/sgml/monitoring.sgml                     |  4 ++--
src/backend/catalog/system_views.sql             |  4 ++--
src/backend/utils/activity/pgstat_subscription.c |  8 ++++----
src/backend/utils/adt/pgstatfuncs.c              | 12 ++++++------
src/include/catalog/catversion.h                 |  2 +-
src/include/catalog/pg_proc.dat                  |  2 +-
src/include/pgstat.h                             |  8 ++++----
src/test/regress/expected/rules.out              |  6 +++---
src/test/subscription/t/026_stats.pl             | 22 +++++++++++-----------
9 files changed, 34 insertions(+), 34 deletions(-)



Message-ID: <E1vLD8L-0005md-3C@gemulon.postgresql.org>
Permalink:  ../E1vLD8L-0005md-3C@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1vLD8L-0005md-3C@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 using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: akapila@postgresql.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Rename two columns in pg_stat_subscription_stats.
  In-Reply-To: <E1vLD8L-0005md-3C@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