-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Database connection string with postgresql protocol assumes MongoDB #7687
Comments
Thanks for opening this issue!
|
Seems like this could be added. For reference: https://www.postgresql.org/docs/current/libpq-connect.html Parse Server connects to Postgres using pg-promise->node-postgres. Reference uri: https://node-postgres.com/features/connecting |
Classified this as a bug as the Parse Server docs say:
A "valid postgres URL" includes the
So it should work with either one. Severity low, as the workaround is to use the |
🎉 This change has been released in version 5.0.0-alpha.15 |
🎉 This change has been released in version 5.0.0-beta.10 |
🎉 This change has been released in version 5.1.0 |
New Issue Checklist
Issue Description
Developers using PostgreSQL can only use a URI with the prefix "postgres:" when "postgresql:" is also commonly used.
Steps to reproduce
Actual Outcome
"MongoParseError: Invalid connection string"
Expected Outcome
Should validate as a PostgreSQL URI.
Environment
Node v17.0.1
Server
Database
Client
Logs
The text was updated successfully, but these errors were encountered: