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

Enable "unix:" prefix for PostgreSQL connection string #215

Merged
merged 1 commit into from
Jul 22, 2022

Conversation

prusnak
Copy link
Contributor

@prusnak prusnak commented Jul 21, 2022

According to Pgdriver documentation a valid connection string can also start with unix:// when UNIX sockets are used. See https://bun.uptrace.dev/postgres/#pgdriver

This PR updates the checks to allow that.

Copy link
Contributor

@bumi bumi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

utACK

@kiwiidb kiwiidb merged commit 2bdd71c into getAlby:main Jul 22, 2022
@prusnak prusnak deleted the psql-unix-prefix branch July 22, 2022 07:28
prusnak added a commit to prusnak/nix-bitcoin that referenced this pull request Jul 25, 2022
postgres fixup

we need to wait until LndHub.go with getAlby/lndhub.go#215 merged in is released
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

Successfully merging this pull request may close these issues.

3 participants