postgresql/contrib/test_decoding
Amit Kapila 76b78721ca Add slotsync skip statistics.
This patch adds two new columns to the pg_stat_replication_slots view:
slotsync_skip_count - the total number of times a slotsync operation was
skipped.
slotsync_skip_at - the timestamp of the most recent skip.

These additions provide better visibility into replication slot
synchronization behavior.

A future patch will introduce the slotsync_skip_reason column in
pg_replication_slots to capture the reason for skip.

Author: Shlok Kyal <shlok.kyal.oss@gmail.com>
Reviewed-by: shveta malik <shveta.malik@gmail.com>
Reviewed-by: Hayato Kuroda <kuroda.hayato@fujitsu.com>
Reviewed-by: Ashutosh Sharma <ashu.coek88@gmail.com>
Reviewed-by: Amit Kapila <amit.kapila16@gmail.com>
Discussion: https://postgr.es/m/CAE9k0PkhfKrTEAsGz4DjOhEj1nQ+hbQVfvWUxNacD38ibW3a1g@mail.gmail.com
2025-11-25 07:06:02 +00:00
..
expected Add slotsync skip statistics. 2025-11-25 07:06:02 +00:00
specs Add optional pid parameter to pg_replication_origin_session_setup(). 2025-09-19 05:38:40 +00:00
sql Add mem_exceeded_count column to pg_stat_replication_slots. 2025-10-08 10:05:04 -07:00
t Update copyright for 2025 2025-01-01 11:21:55 -05:00
.gitignore Improve isolation tests infrastructure. 2017-03-14 15:56:17 -07:00
logical.conf Stabilize streaming tests in test_decoding. 2022-04-20 08:59:55 +05:30
Makefile Add optional pid parameter to pg_replication_origin_session_setup(). 2025-09-19 05:38:40 +00:00
meson.build Add optional pid parameter to pg_replication_origin_session_setup(). 2025-09-19 05:38:40 +00:00
test_decoding.c Make some use of anonymous unions [reorderbuffer xact_time] 2025-09-30 12:35:50 +02:00