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

Scan enums when using pgx #386

Merged
merged 6 commits into from
Mar 9, 2020
Merged

Scan enums when using pgx #386

merged 6 commits into from
Mar 9, 2020

Conversation

kyleconroy
Copy link
Collaborator

@kyleconroy kyleconroy commented 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.

Fixes #379

@kyleconroy kyleconroy merged commit 59bc936 into master Mar 9, 2020
@kyleconroy kyleconroy deleted the enum-pgx branch March 9, 2020 16:56
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.

ENUMs conversion failure
1 participant