Skip to content

Thoughts on using with pgx#3

Description

@dolzenko

Again, thanks for sharing this 馃挓, I like the API very much and it would allow us to save quite a few lines of code, but the problem I found is that it's slightly incompatible with pgx driver in native mode. And the pgx docs claim it's faster and more featureful in native mode https://github.com/jackc/pgx/wiki/Getting-started-with-pgx-through-database-sql . I was able to adapt the code quickly (it's nothing more than a QueryContext > Query change and Columns > FieldDescriptions [0]) but I was thinking if you probably will be interested in incorporating support somehow upstream (especially given pgx driver seems quite popular way to connect to Postgres).

[0] https://gist.github.com/dolzenko/7edf82537d4ded509c251e81b85512b4

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions