| From: | "Christopher J(dot) Bottaro" <cjbottaro(at)academicworks(dot)com> |
|---|---|
| To: | pgsql-general(at)postgresql(dot)org |
| Subject: | Streaming replication protocol |
| Date: | 2017-01-13 22:44:32 |
| Message-ID: | CAAw6nKu9PghkN-Dhd15UhZ=Nagc4V+hDwXXCAjx8qYw-2pk6Gg@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | 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:
https://www.postgresql.org/docs/9.5/static/protocol-replication.html
Which I find really confusing and hard to understand. Any help would be
appreciated! Thank you.
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tomas Vondra | 2017-01-14 00:55:21 | Re: Are new connection/security features in order, given connection pooling? |
| Previous Message | Merlin Moncure | 2017-01-13 20:48:55 | Re: efficiently migrating 'old' data from one table to another |