From: | Eqbal Z <eqbalzee(at)gmail(dot)com> |
---|---|
To: | pgsql-general(at)lists(dot)postgresql(dot)org |
Subject: | Replication protocol vs replication functions |
Date: | 2019-09-16 19:12:18 |
Message-ID: | CAGB08tR5iXJuV9U0Mb6qqEVO+oTLDCTKzv-TORuFhzPsk1+q7A@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
I am using Postgresql's logical replication in my application with the
test_decoding plugin. I am trying to understand the difference between
replication protocol and replication functions provided by Postgresql.
Specifically, CREATE_REPLICATION_SLOT call returns a snapshot name, but
pg_create_logical_replication_slot does not. The driver I am using does not
support replication protocol, so I am trying to use the functions. But how
can I retrieve the snapshot from the function call?
Can I use a combination of pg_export_snapshot with
pg_create_logical_replication_slot to get a snapshot of the open
transaction, that I can then use with pg_dumpfor example?
Thanks.
From | Date | Subject | |
---|---|---|---|
Next Message | Adrian Klaver | 2019-09-16 19:45:38 | Re: FW: Re: FW: Re: Shouldn;t this trigger be called? |
Previous Message | stan | 2019-09-16 18:52:08 | Re: FW: Re: FW: Re: Shouldn;t this trigger be called? |