pgsql: Add test for pg_recvlogical reconnection behavior.

From: Fujii Masao <fujii(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Add test for pg_recvlogical reconnection behavior.
Date: 2026-01-16 03:39:58
Message-ID: E1vgagn-000jfs-2y@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(dot)mircea(at)gmail(dot)com>
Co-authored-by: Fujii Masao <masao(dot)fujii(at)gmail(dot)com>
Reviewed-by: Chao Li <li(dot)evan(dot)chao(at)gmail(dot)com>
Discussion: https://postgr.es/m/CAHGQGwFeTymZQ7RLvMU6WuDGar8bUQCazg=VOfA-9GeBkg-FzA@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/d89b1d817513025e2c1f821090c4262fcedf5be2

Modified Files
--------------
src/bin/pg_basebackup/t/030_pg_recvlogical.pl | 94 +++++++++++++++++++++++++++
1 file changed, 94 insertions(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Amit Langote 2026-01-16 04:26:00 pgsql: Fix segfault from releasing locks in detached DSM segments
Previous Message Michael Paquier 2026-01-16 03:13:21 pgsql: Fix stability issue with new TAP test of pg_createsubscriber