Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can i get snapshot with this package ? #49

Open
seyedmo30 opened this issue Feb 14, 2023 · 2 comments
Open

can i get snapshot with this package ? #49

seyedmo30 opened this issue Feb 14, 2023 · 2 comments

Comments

@seyedmo30
Copy link

I read many articles but I don't understand how to get data with snapshot_name

CREATE_REPLICATION_SLOT my_slot LOGICAL pgoutput(SNAPSHOT 'export') ;

Should I use consistent_point ( 0/29172F0 ) or snapshot_name ( 0000000A-00000161-1 )?

Is the path I took correct?

@genezhang
Copy link

Just FYI some details: https://stackoverflow.com/questions/75852587/how-to-use-exported-snapshot-in-postgres-replication-slot

@le-vlad
Copy link

le-vlad commented Oct 14, 2024

@genezhang
The interesting thing here is that this link you shared works for PG14+
Since the command that created the replication slot with snapshot exporting is not available in earlier versions.

Do you have an idea what to do with older versions?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants