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

fix: converts the slot_name to lower case so that it matches Postgres #71

Merged
merged 1 commit into from
Sep 14, 2020

Conversation

kiwicopple
Copy link
Member

What kind of change does this PR introduce?

Fixes #22

What is the current behavior?

The SLOT_NAME variable is getting converted to lowercase in Postgres, so when the server is trying to SELECT an existing slot it isn't matching correctly.

What is the new behavior?

This converts the SLOT_NAME to lower case and adds instructions that it should always be lower case.

Additional context

Long shot: this could possibly solve #61 if the disk usage is caused by connecting/reconnecting, causing Postgres to create a lot of different temporary slots.

@kiwicopple kiwicopple merged commit 9a39fb2 into master Sep 14, 2020
@github-actions
Copy link

🎉 This PR is included in version 0.7.9 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@soedirgo soedirgo deleted the fix/22 branch December 14, 2020 13:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

crash: replication slot already exists
1 participant