Add test for pg_recvlogical reconnection behavior.

Fujii Masao <fujii@postgresql.org>

Commit: d89b1d817513025e2c1f821090c4262fcedf5be2
Author: Fujii Masao <fujii@postgresql.org>
Date: 2026-01-16T03:36:34Z
Add test for pg_recvlogical reconnection behavior.

This commit adds a test to verify that data already received and flushed by
pg_recvlogical is not streamed again even after the connection is lost,
reestablished, and logical replication is restarted.

Author: Mircea Cadariu <cadariu.mircea@gmail.com>
Co-authored-by: Fujii Masao <masao.fujii@gmail.com>
Reviewed-by: Chao Li <li.evan.chao@gmail.com>
Discussion: https://postgr.es/m/CAHGQGwFeTymZQ7RLvMU6WuDGar8bUQCazg=VOfA-9GeBkg-FzA@mail.gmail.com

Files

PathChange+/−
src/bin/pg_basebackup/t/030_pg_recvlogical.pl modified +94 −0

Discussion