[GENERAL] Streaming replication protocol - Mailing list pgsql-general

From Christopher J. Bottaro
Subject [GENERAL] Streaming replication protocol
Date
Msg-id CAAw6nKu9PghkN-Dhd15UhZ=Nagc4V+hDwXXCAjx8qYw-2pk6Gg@mail.gmail.com
Whole thread Raw
List pgsql-general
Hello,

I'm trying to write a program that speaks the streaming replication protocol (for logical decoding).  I get to the part where I issue a query:

START_REPLICATION SLOT regression_slot LOGICAL 0/0;

And after that, I receive an empty copy_both_response then a copy_data that has a "Primary keepalive message" in it.  Then I'm stuck; I don't know how to respond to that.

I'm going off the documentation here:


Which I find really confusing and hard to understand.  Any help would be appreciated!  Thank you.

pgsql-general by date:

Previous
From: Merlin Moncure
Date:
Subject: Re: [GENERAL] efficiently migrating 'old' data from one table to another
Next
From: Tomas Vondra
Date:
Subject: [GENERAL] Re: Are new connection/security features in order, given connectionpooling?