pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Fujii Masao <fujii@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Add test for pg_recvlogical reconnection behavior.
Date: Fri, 16 Jan 2026 03:39:58 +0000
Message-ID: <E1vgagn-000jfs-2y@gemulon.postgresql.org> (raw)

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

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(+)



Message-ID: <E1vgagn-000jfs-2y@gemulon.postgresql.org>
Permalink:  ../E1vgagn-000jfs-2y@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1vgagn-000jfs-2y@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: fujii@postgresql.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Add test for pg_recvlogical reconnection behavior.
  In-Reply-To: <E1vgagn-000jfs-2y@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox