Skip to content

pgxpool support? #2493

Closed as not planned
Closed as not planned

Description

@mthmcalixto

What do you want to change?

Hello, I was wondering if I can use pgxpool, any examples if so?

What database engines need to be changed?

PostgreSQL

What programming language backends need to be changed?

Go

Activity

  1. andrewmbenton commented on Jul 24, 2023

    @andrewmbenton
    Member

    Using pgxpool should just work the same way pgx/v5 works. I think the connection type returned from pgxpool.Connect() implements the same interface as pgx.Connect() so it should just be a drop-in replacement for pgx in this example from the docs: https://docs.sqlc.dev/en/stable/guides/using-go-and-pgx.html#generated-code-walkthrough

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

    enhancementNew feature or requesttriageNew issues that hasn't been reviewed

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions