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

docs: clarify that we don't support multi-host db urls #3312

Merged
merged 1 commit into from Mar 17, 2023

Conversation

thomasheartman
Copy link
Contributor

This PR updates the docs to clarify that we don't support multi-host strings in the databaseUrl configuration variable.

The docs used to just mention that we accept libpq strings, but as reported in #3221, we don't support multi-host strings.

I did some digging and found that this is because node-postgres -- the library we use to connect to postgres -- itself does not support multi-host strings.

To fix this, we would need to replace the library we use or otherwise wrap it. While this would be a better long-term solution, we don't have the capacity to it right now. But we can update the docs to better reflect reality.

@vercel
Copy link

vercel bot commented Mar 14, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
unleash-docs ✅ Ready (Inspect) Visit Preview Mar 14, 2023 at 1:19PM (UTC)
1 Ignored Deployment
Name Status Preview Updated
unleash-monorepo-frontend ⬜️ Ignored (Inspect) Mar 14, 2023 at 1:19PM (UTC)

@thomasheartman thomasheartman enabled auto-merge (squash) March 14, 2023 15:49
Copy link
Contributor

@chriswk chriswk left a comment

Choose a reason for hiding this comment

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

LGTM

@thomasheartman thomasheartman merged commit d23266d into main Mar 17, 2023
9 checks passed
@thomasheartman thomasheartman deleted the docs/libpq-connection-string branch March 17, 2023 09:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

2 participants