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

Support alternative PostgreSQL drivers #28

Closed
kyleconroy opened this issue Jul 19, 2019 · 5 comments
Closed

Support alternative PostgreSQL drivers #28

kyleconroy opened this issue Jul 19, 2019 · 5 comments
Labels
enhancement New feature or request

Comments

@kyleconroy
Copy link
Collaborator

Right now that means pgx. Not sure what other PostgreSQL drivers are out there.

@djui
Copy link

djui commented Sep 4, 2019

pq is very commonly used.

@kyleconroy
Copy link
Collaborator Author

@djui lib/pq is the only currently supported driver

@kyleconroy kyleconroy added the enhancement New feature or request label Oct 25, 2019
@NaLLiFFuNT
Copy link

any updates here?

@kyleconroy
Copy link
Collaborator Author

@NaLLiFFuNT None as of yet. I personally don't use anything other than lib/pq, so I need some more information for user's of alternatives. What driver do you need supported? Can you post a code snippet of how you use said driver today?

kyleconroy added a commit that referenced this issue Mar 9, 2020
While work on adding full support for pgx hasn't started (#28), this change allows sqlc-generated code to be used with pgx's stdlib package github.com/jackc/pgx/v4/stdlib. Note that you'll still see errors if you try using PostgreSQL arrays.
@kyleconroy
Copy link
Collaborator Author

Closing this issue out in favor of #472

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants