Rename column slotsync_skip_at to slotsync_last_skip.
Amit Kapila <akapila@postgresql.org>
Rename column slotsync_skip_at to slotsync_last_skip. Commit 76b78721ca introduced two new columns in pg_stat_replication_slots to improve monitoring of slot synchronization. One of these columns was named slotsync_skip_at, which is inconsistent with the naming convention used for similar columns in other system views. Columns that store timestamps of the most recent event typically use the 'last_' in the column name (e.g., last_autovacuum, checksum_last_failure). Renaming slotsync_skip_at to slotsync_last_skip aligns with this pattern, making the purpose of the column clearer and improving overall consistency across the views. Author: Shlok Kyal <shlok.kyal.oss@gmail.com> Reviewed-by: Michael Banck <mbanck@gmx.net> Discussion: https://postgr.es/m/20251128091552.GB13635@p46.dedyn.io;lightning.p46.dedyn.io Discussion: https://postgr.es/m/CAE9k0PkhfKrTEAsGz4DjOhEj1nQ+hbQVfvWUxNacD38ibW3a1g@mail.gmail.com
Files
| Path | Change | +/− |
|---|---|---|
| contrib/test_decoding/expected/stats.out | modified | +6 −6 |
| doc/src/sgml/monitoring.sgml | modified | +1 −1 |
| src/backend/catalog/system_views.sql | modified | +1 −1 |
| src/backend/utils/activity/pgstat_replslot.c | modified | +1 −1 |
| src/backend/utils/adt/pgstatfuncs.c | modified | +3 −3 |
| src/include/catalog/catversion.h | modified | +1 −1 |
| src/include/catalog/pg_proc.dat | modified | +1 −1 |
| src/include/pgstat.h | modified | +1 −1 |
| src/test/regress/expected/rules.out | modified | +2 −2 |
Discussion
- How can end users know the cause of LR slot sync delays? 75 messages · 2025-08-28 → 2025-12-05