[GENERAL] Streaming replication protocol

2017-01-13 Thread Christopher J. Bottaro
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 kee

[GENERAL] streaming replication protocol in Perl?

2016-12-18 Thread Torsten Förtsch
Hi, is there a perl module that allows to speak the streaming replication protocol? Can DBD::Pg do that anyhow? I think I could just pipe from pg_recvlogical. But would be cool to have it directly in Perl. Thanks, Torsten

Re: [GENERAL] streaming replication protocol in Perl?

2017-01-02 Thread Greg Sabino Mullane
-BEGIN PGP SIGNED MESSAGE- Hash: RIPEMD160 Torsten Förtsch asked: > is there a perl module that allows to speak the streaming replication > protocol? Not that I know of. > Can DBD::Pg do that anyhow? Nope. > I think I could just pipe from pg_recvlogical. But would be cool to have