Re: Rename sync_error_count to tbl_sync_error_count in subscription statistics - Mailing list pgsql-hackers

From Chao Li
Subject Re: Rename sync_error_count to tbl_sync_error_count in subscription statistics
Date
Msg-id 1FCDA547-3500-4206-94F2-69AEA81D2C0C@gmail.com
Whole thread Raw
In response to Re: Rename sync_error_count to tbl_sync_error_count in subscription statistics  (vignesh C <vignesh21@gmail.com>)
List pgsql-hackers

> On Nov 13, 2025, at 17:52, vignesh C <vignesh21@gmail.com> wrote:
>
> On Thu, 13 Nov 2025 at 09:12, Amit Kapila <amit.kapila16@gmail.com> wrote:
>>
>> On Thu, Nov 13, 2025 at 4:31 AM Peter Smith <smithpb2250@gmail.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/







pgsql-hackers by date:

Previous
From: Chao Li
Date:
Subject: Re: SQL:2011 Application Time Update & Delete
Next
From: Peter Smith
Date:
Subject: Re: [WIP]Vertical Clustered Index (columnar store extension) - take2