Reviving the "Stopping logical replication protocol" patch from Vladimir Gordichuk

From: Dave Cramer <davecramer(at)gmail(dot)com>
To: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>, Craig Ringer <craig(at)2ndquadrant(dot)com>
Subject: Reviving the "Stopping logical replication protocol" patch from Vladimir Gordichuk
Date: 2018-07-24 15:52:12
Message-ID: CADK3HH+EDcP1gGXyM0sNXkkm5po7OXwyjy9XuU-beCCyWhnrPg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Back in 2016 a patch was proposed that seems to have died on the vine. See
https://www.postgresql.org/message-id/flat/CAFgjRd3hdYOa33m69TbeOfNNer2BZbwa8FFjt2V5VFzTBvUU3w(at)mail(dot)gmail(dot)com

for the history and https://commitfest.postgresql.org/10/621/ for the
commitfest entry.

I've rebased the patches and attached them for consideration.

JDBC tests here
https://github.com/pgjdbc/pgjdbc/blob/master/pgjdbc/src/test/java/org/postgresql/replication/LogicalReplicationTest.java
all pass

Regards,

Dave Cramer

Attachment Content-Type Size
0004-Add-test-for-pg_recvlogical-to-stop-replication.patch application/octet-stream 7.2 KB
0003-Add-ability-for-pg_recvlogical-to-stop-replication-f.patch application/octet-stream 14.8 KB
0002-Client-initiated-CopyDone-during-transaction-decodin.patch application/octet-stream 11.1 KB
0001-Respect-client-initiated-CopyDone-in-walsender.patch application/octet-stream 3.0 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2018-07-24 15:58:29 Re: BUG #15293: Stored Procedure Triggered by Logical Replication is Unable to use Notification Events
Previous Message Tomas Vondra 2018-07-24 15:45:26 Re: [Proposal] Add accumulated statistics for wait event