Re: Rename sync_error_count to tbl_sync_error_count in subscription statistics

From: Chao Li <li(dot)evan(dot)chao(at)gmail(dot)com>
To: vignesh C <vignesh21(at)gmail(dot)com>
Cc: Amit Kapila <amit(dot)kapila16(at)gmail(dot)com>, Peter Smith <smithpb2250(at)gmail(dot)com>, shveta malik <shveta(dot)malik(at)gmail(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>, Masahiko Sawada <sawada(dot)mshk(at)gmail(dot)com>, Dilip Kumar <dilipbalaut(at)gmail(dot)com>
Subject: Re: Rename sync_error_count to tbl_sync_error_count in subscription statistics
Date: 2025-11-14 04:14:55
Message-ID: 1FCDA547-3500-4206-94F2-69AEA81D2C0C@gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> On Nov 13, 2025, at 17:52, vignesh C <vignesh21(at)gmail(dot)com> wrote:
>
> On Thu, 13 Nov 2025 at 09:12, Amit Kapila <amit(dot)kapila16(at)gmail(dot)com> wrote:
>>
>> On Thu, Nov 13, 2025 at 4:31 AM Peter Smith <smithpb2250(at)gmail(dot)com> wrote:
>>>
>>> CURRENT
>>> seq_sync_error_count
>>> sync_error_count
>>>
>>> MY SUGGESTION
>>> sync_seq_error_count
>>> sync_table_error_count
>>>
>>
>> +1. Along with consistency with other column names, it will also make
>> it easier for users to group and query all 'sync' related counts
>> together.
>
> This seems better, the attached v2 version patch has the changes for the same.
>
> Regards,
> Vignesh
> <v2-0001-Rename-sync_error_count-to-sync_table_error_count.patch>

V2 overall looks good, a small comment is that the commit message need to be updated:

```
Subject: [PATCH v2] Rename sync_error_count to sync_table_error_count in
subscription statistics

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
```

We now actually rename two fields.

Best regards,
--
Chao Li (Evan)
HighGo Software Co., Ltd.
https://www.highgo.com/

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Smith 2025-11-14 04:24:11 Re: [WIP]Vertical Clustered Index (columnar store extension) - take2
Previous Message Chao Li 2025-11-14 04:10:00 Re: SQL:2011 Application Time Update & Delete