Replication protocol vs replication functions - Mailing list pgsql-general

From Eqbal Z
Subject Replication protocol vs replication functions
Date
Msg-id CAGB08tR5iXJuV9U0Mb6qqEVO+oTLDCTKzv-TORuFhzPsk1+q7A@mail.gmail.com
Whole thread Raw
List 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.

pgsql-general by date:

Previous
From: stan
Date:
Subject: Re: FW: Re: FW: Re: Shouldn;t this trigger be called?
Next
From: Adrian Klaver
Date:
Subject: Re: FW: Re: FW: Re: Shouldn;t this trigger be called?