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

Postgres support #19

Closed
tyt2y3 opened this issue Jun 11, 2021 · 5 comments
Closed

Postgres support #19

tyt2y3 opened this issue Jun 11, 2021 · 5 comments

Comments

@tyt2y3
Copy link
Member

tyt2y3 commented Jun 11, 2021

Current development is MySQL only, and we need to catch up support for Postgres and ensure it's correctness.

  1. connector support
  2. account for behavioral difference from MySQL
  3. test suite support
  4. feature guarded driver support
@tyt2y3 tyt2y3 mentioned this issue Jun 11, 2021
36 tasks
@tqwewe
Copy link
Contributor

tqwewe commented Jun 13, 2021

Any idea how this might be implemented to support async? Will it be a wrapper around tokio-postgres perhaps?

@tyt2y3
Copy link
Member Author

tyt2y3 commented Jun 13, 2021

Yes. it is possible to wrap around tokio-postgres. But our first target is SQLx (It supports async-std in additional to tokio). Any reason that SQLx would not suit your need?

@tqwewe
Copy link
Contributor

tqwewe commented Jun 13, 2021

No particular reason actually, I haven't actually used SQLx befoe but it seems very popular and mature so that sounds fine!

@tqwewe
Copy link
Contributor

tqwewe commented Aug 7, 2021

I'm having trouble connecting to a postgres database. I have the sqlx-postgres flag enabled, but I receive the error:

Error: Connection Error: The connection string 'postgresql://user:pass@0.0.0.0:5432/postgres' has no supporting driver.

@tqwewe
Copy link
Contributor

tqwewe commented Aug 7, 2021

I solved my issue. I was using postgresql:// as the schema.. it should've been postgres://

@tyt2y3 tyt2y3 closed this as completed Aug 7, 2021
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

2 participants