Search Postgresql Archives

Replication protocol vs replication functions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




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.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]

  Powered by Linux